aboutsummaryrefslogtreecommitdiff
path: root/time/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'time/Makefile')
-rw-r--r--time/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/time/Makefile b/time/Makefile
index 044f15486d..cf0ac6a89d 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -179,14 +179,20 @@ CFLAGS-tzset.c = $(tz-cflags)
# We have to make sure the data for testing the tz functions is available.
.PHONY: install-test-data
-install-test-data: northamerica $(objpfx)zic $(leapseconds) yearistype \
- etcetera simplebackw
+install-test-data: $(addprefx $(objpfx)testdata/, America/New_York \
+ Etc/UTC UTC)
+
+$(objpfx)testdata/America/New_York: $(objpfx)zic $(leapseconds) yearistype
$(built-program-cmd) -d $(objpfx)testdata -L $(leapseconds) \
-y yearistype northamerica
+$(objpfx)testdata/Etc/UTC: $(objpfx)zic $(leapseconds) yearistype
$(built-program-cmd) -d $(objpfx)testdata -L $(leapseconds) \
-y yearistype etcetera
+$(objpfx)testdata/UTC: $(objpfx)testdata/Etc/UTC $(objpfx)zic \
+ $(leapseconds) yearistype
$(built-program-cmd) -d $(objpfx)testdata -L $(leapseconds) \
-y yearistype simplebackw
+
test-tz-ENV = TZDIR=$(objpfx)testdata