diff options
-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}[ ].*$$" \ |