From 02041687f2e7d8c080792696f5e6b1fad96f8255 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 05 Jun 2019 19:28:33 -0400 Subject: build: Don't install until install --- (limited to 'build') diff --git a/build b/build index 1ac3b25..33e0b52 100755 --- a/build +++ b/build @@ -16,10 +16,6 @@ nop: build: oh-autobuild -- KSHELL=/bin/sh - for t in $(tables); do \ - src/zic -d tzdata-$${t}.data/usr/share/zoneinfo \ - -L /dev/null src/$${t} || exit $?; \ - done touch $@ install: build @@ -41,6 +37,8 @@ install: build ln -sf . tzdata.data/usr/share/zoneinfo/posix # Install time zones. for t in $(tables); do \ + src/zic -d tzdata-$${t}.data/usr/share/zoneinfo \ + -L /dev/null src/$${t} || exit $?; \ grep '^L' src/$${t} | while read type dest src etc; do \ rm -f "tzdata-$${t}.data/usr/share/zoneinfo/$${src}"; \ if [ x"$${dest}" = x'Etc/UTC' ]; then \ -- cgit v0.9.1