From 660d7b325991de3b51531d83359a5a3d7b46dc9a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 09 Oct 2013 13:23:39 -0400 Subject: build: Add comments. --- (limited to 'build') 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}[ ].*$$" \ -- cgit v0.9.1