Don't assume that $(inst_zonedir) is a subdir
authorschwab <schwab>
Tue, 6 Feb 2001 17:29:06 +0000 (17:29 +0000)
committerschwab <schwab>
Tue, 6 Feb 2001 17:29:06 +0000 (17:29 +0000)
of $(inst_datadir).

timezone/Makefile

index 3e8a1a8..e054baa 100644 (file)
@@ -104,13 +104,13 @@ $(tzfiles:%=$(objpfx)z.%): $(objpfx)z.%: % Makefile
           echo '$$(addprefix $$(inst_zonedir)/,$$($*-zones)): \'           ;\
           echo '$$(foreach t,$$(tzbases),$$(addprefix $$(inst_zonedir)/,$$($$t-zones)))' ;\
         fi                                                                 ;\
-        echo '$$(addprefix $$(inst_datadir)/zone%/right/,$$($*-zones)): \' ;\
+        echo '$$(addprefix $$(dir $$(inst_zonedir))zone%/right/,$$($*-zones)): \' ;\
         echo '$< $$(objpfx)zic leapseconds yearistype'                     ;\
         echo ' $$(tzcompile)'                                              ;\
-        echo '$$(addprefix $$(inst_datadir)/zone%/posix/,$$($*-zones)): \' ;\
+        echo '$$(addprefix $$(dir $$(inst_zonedir))zone%/posix/,$$($*-zones)): \' ;\
         echo '$< $$(objpfx)zic /dev/null yearistype'                       ;\
         echo ' $$(tzcompile)'                                              ;\
-        echo '$$(addprefix $$(inst_datadir)/zone%/,$$($*-zones)): \'       ;\
+        echo '$$(addprefix $$(dir $$(inst_zonedir))zone%/,$$($*-zones)): \' ;\
         echo '$< $$(objpfx)zic $$(leapseconds) yearistype'                 ;\
         echo ' $$(tzcompile)'                                              ;\
         echo 'endif'                                                       ;\