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. --- 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 diff --git a/tzcode-doc.pkg/files b/tzcode-doc.pkg/files deleted file mode 100644 index 0ddb634..0000000 --- a/tzcode-doc.pkg/files +++ /dev/null @@ -1 +0,0 @@ -/usr/share/man diff --git a/tzselect.pkg/files b/tzselect.pkg/files deleted file mode 100644 index 43aedd7..0000000 --- a/tzselect.pkg/files +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/tzselect diff --git a/zdump.pkg/files b/zdump.pkg/files deleted file mode 100644 index 5498131..0000000 --- a/zdump.pkg/files +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/zdump diff --git a/zic.pkg/files b/zic.pkg/files deleted file mode 100644 index df928d5..0000000 --- a/zic.pkg/files +++ /dev/null @@ -1 +0,0 @@ -/usr/sbin/zic -- cgit v0.9.1