summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-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