summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-09 13:23:39 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-09 13:23:39 (EDT)
commit660d7b325991de3b51531d83359a5a3d7b46dc9a (patch)
treeca510a7d3ba61f15266d567faa1098a597f0fcca
parent136c0ec2f5a743e9fbe5cdf392dc64af932c5e18 (diff)
build: Add comments.
-rwxr-xr-xbuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/build b/build
index a5a34ce..cfa976f 100755
--- a/build
+++ b/build
@@ -25,10 +25,12 @@ build:
touch $@
install: build
+ # Install tzdata-common files.
mkdir -p tzdata-common.data/usr/share/zoneinfo
cp src/iso3166.tab src/zone.tab tzdata-common.data/usr/share/zoneinfo
cp -p tzdata-northamerica.data/usr/share/zoneinfo/America/New_York \
tzdata-common.data/usr/share/zoneinfo
+ # Install time zones.
for t in $(tables); do \
grep '^Link' src/$${t} | while read type dest src etc; do \
rm -f "tzdata-$${t}.data/usr/share/zoneinfo/$${src}"; \
@@ -46,6 +48,8 @@ install: build
ln -sf "$${up}$${dest}" "$${src}"; \
done; \
done
+ # Install links listed in the "backward" table into the relevant time
+ # zone data package.
grep '^Link' src/backward | while read type dest src etc; do \
t="$$(cd src && grep -l \
"^Zone[ ][ ]*$${dest}[ ].*$$" \