Don't include z.ZONE files if no_deps is set, not if avoid-generated
authordrepper <drepper>
Fri, 13 Nov 1998 13:24:37 +0000 (13:24 +0000)
committerdrepper <drepper>
Fri, 13 Nov 1998 13:24:37 +0000 (13:24 +0000)
is set.
Generate GB timezone data for tests.

timezone/Makefile

index c0a9bc1..6420862 100644 (file)
@@ -53,7 +53,7 @@ define nl
 
 
 endef
-ifndef avoid-generated
+ifndef no_deps
 -include $(addprefix $(objpfx)z.,$(tzfiles))
 endif
 
@@ -178,7 +178,7 @@ $(objpfx)test-tz.out: $(addprefix $(testdata)/, America/New_York Etc/UTC UTC)
 $(objpfx)tst-timezone.out: $(addprefix $(testdata)/, \
                                       Europe/Berlin Universal \
                                       Australia/Melbourne \
-                                      America/Sao_Paulo Asia/Tokyo)
+                                      America/Sao_Paulo Asia/Tokyo GB)
 
 test-tz-ENV = TZDIR=$(testdata)
 tst-timezone-ENV = TZDIR=$(testdata)
@@ -204,6 +204,8 @@ $(testdata)/America/Sao_Paulo: southamerica $(objpfx)zic $(leapseconds) \
        $(build-testdata)
 $(testdata)/Asia/Tokyo: asia $(objpfx)zic $(leapseconds) yearistype
        $(build-testdata)
+$(testdata)/GB: europe $(objpfx)zic $(leapseconds) yearistype
+       $(build-testdata)
 
 
 $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make