summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild18
1 files changed, 11 insertions, 7 deletions
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