diff options
author | P. 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) |
commit | 660d7b325991de3b51531d83359a5a3d7b46dc9a (patch) | |
tree | ca510a7d3ba61f15266d567faa1098a597f0fcca | |
parent | 136c0ec2f5a743e9fbe5cdf392dc64af932c5e18 (diff) |
build: Add comments.
-rwxr-xr-x | build | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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}[ ].*$$" \ |