From 3c689df49870a683430871630b88be529bbe3400 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 06 Jun 2019 10:58:05 -0400 Subject: tzselect, zdump, zic, tzcode-doc: Don't use oh-installfiles Instead, install everything directly to .data directories and run oh-fixperms and oh-strip over all of them at the end. --- (limited to 'build') diff --git a/build b/build index 2fb73fe..5691dc5 100755 --- a/build +++ b/build @@ -18,13 +18,13 @@ build: touch $@ install: build - install -D src/tzselect src/zdump dest/usr/bin - install -D src/zic dest/usr/sbin - install -D src/tzfile.5 dest/usr/share/man/man5 - install -D src/tzselect.8 src/zdump.8 src/zic.8 dest/usr/share/man/man8 - oh-fixperms - oh-strip - oh-installfiles + install -D src/tzselect tzselect.data/usr/bin + install -D src/zdump zdump.data/usr/bin + install -D src/zic zic.data/usr/sbin + install -D src/tzfile.5 tzdata-doc.data/usr/share/man/man5 + install -D src/tzselect.8 tzdata-doc.data/usr/share/man/man8 + install -D src/zdump.8 tzdata-doc.data/usr/share/man/man8 + install -D src/zic.8 tzdata-doc.data/usr/share/man/man8 # Install country and zone tables used by tzselect. cp src/*.tab tzdata.data/usr/share/zoneinfo # Install Factory zone. @@ -76,3 +76,7 @@ install: build mv tzdata-northamerica.data/usr/share/zoneinfo/America/New_York \ tzdata.data/usr/share/zoneinfo/America ln -sf America/New_York tzdata.data/usr/share/zoneinfo/posixrules + set -e; for p $(OPK_PACKAGES); do \ + oh-fixperms -d "$${p}.data"; \ + oh-strip -d "$${p}.data"; \ + done -- cgit v0.9.1