From 3db8470f05a88cacc98c35280f13868609893a2f Mon Sep 17 00:00:00 2001
From: Patrick McDermott <patrick.mcdermott@libiquity.com>
Date: Thu, 06 Jun 2019 11:43:36 -0400
Subject: build: Try install's -t option

---
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
--
cgit v0.9.1