summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-06 12:28:25 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-06 12:28:25 (EDT)
commit8cfd46905827e91dbf42bde406a3fc5514573646 (patch)
treefddf0f64a8eb1b3332c96476835db175dc4dff23
parent0524ef6360ff3539b05a64d49fade64a5317f7e8 (diff)
build: Make $(INSTALL) less pointlessly verbose
Also add a couple comments.
-rwxr-xr-xbuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/build b/build
index cc4f150..a9c009b 100755
--- a/build
+++ b/build
@@ -12,6 +12,7 @@ TABLES = \
INSTALL = set -e; \
INSTALL() { \
+ printf ' INSTALL %s\n' "$${*}"; \
i=0; for d in "$${@}"; do : $$((i += 1)); done; \
mkdir -p "$${d}"; \
for s in "$${@}"; do [ $$((i -= 1)) -eq 0 ] && break; \
@@ -27,16 +28,18 @@ build:
touch $@
install: build
- $(INSTALL) src/tzselect tzselect.data/usr/bin
- $(INSTALL) src/zdump zdump.data/usr/bin
- $(INSTALL) src/zic zic.data/usr/sbin
- $(INSTALL) src/tzfile.5 tzcode-doc.data/usr/share/man/man5
- $(INSTALL) src/tzselect.8 tzcode-doc.data/usr/share/man/man8
- $(INSTALL) src/zdump.8 tzcode-doc.data/usr/share/man/man8
- $(INSTALL) src/zic.8 tzcode-doc.data/usr/share/man/man8
+ # Install utilities.
+ @$(INSTALL) src/tzselect tzselect.data/usr/bin
+ @$(INSTALL) src/zdump zdump.data/usr/bin
+ @$(INSTALL) src/zic zic.data/usr/sbin
+ # Install documentation.
+ @$(INSTALL) src/tzfile.5 tzcode-doc.data/usr/share/man/man5
+ @$(INSTALL) src/tzselect.8 tzcode-doc.data/usr/share/man/man8
+ @$(INSTALL) src/zdump.8 tzcode-doc.data/usr/share/man/man8
+ @$(INSTALL) src/zic.8 tzcode-doc.data/usr/share/man/man8
# Install country and zone tables used by tzselect.
- $(INSTALL) src/iso3166.tab tzselect.data/usr/share/zoneinfo
- $(INSTALL) src/zone1970.tab tzselect.data/usr/share/zoneinfo
+ @$(INSTALL) src/iso3166.tab tzselect.data/usr/share/zoneinfo
+ @$(INSTALL) src/zone1970.tab tzselect.data/usr/share/zoneinfo
# 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