summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-06 11:43:36 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-06 11:43:36 (EDT)
commit3db8470f05a88cacc98c35280f13868609893a2f (patch)
tree5a6ec370c9c20bc6a23a112365b0f5417a36a02d /build
parent01c81f9a83bd95c41fcd3cc777c25dddd0810779 (diff)
build: Try install's -t option
Diffstat (limited to 'build')
-rwxr-xr-xbuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/build b/build
index 55f53cf..5c2482c 100755
--- a/build
+++ b/build
@@ -18,15 +18,15 @@ build:
touch $@
install: build
- 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 -D -t tzselect.data/usr/bin src/tzselect
+ install -D -t zdump.data/usr/bin src/zdump
+ install -D -t zic.data/usr/sbin src/zic
+ install -D -t tzdata-doc.data/usr/share/man/man5 src/tzfile.5
+ install -D -t tzdata-doc.data/usr/share/man/man8 src/tzselect.8
+ install -D -t tzdata-doc.data/usr/share/man/man8 src/zdump.8
+ install -D -t tzdata-doc.data/usr/share/man/man8 src/zic.8
# Install country and zone tables used by tzselect.
- install -D src/*.tab tzdata.data/usr/share/zoneinfo
+ install -D -t tzdata.data/usr/share/zoneinfo src/*.tab
# Install the Factory zone and make it the default localtime.
src/zic -d tzdata.data/usr/share/zoneinfo src/factory
mkdir -p tzdata.data/etc