about summary refs log tree commit diff
path: root/timezone/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'timezone/Makefile')
-rw-r--r--timezone/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index 3e8a1a849b..e054baa2ac 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -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'							    ;\