summary refs log tree commit diff
path: root/timezone/Makefile
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2001-02-06 17:29:06 +0000
committerAndreas Schwab <schwab@suse.de>2001-02-06 17:29:06 +0000
commit3c4d463eceb7155f139ef0f95717ac6331180e70 (patch)
tree3a8412885e7968c250cd47d7fc9b8e183298cab8 /timezone/Makefile
parent9a1b5e2ccf4b00d92e88ce7c76956c12660742fa (diff)
downloadglibc-3c4d463eceb7155f139ef0f95717ac6331180e70.tar.gz
glibc-3c4d463eceb7155f139ef0f95717ac6331180e70.tar.xz
glibc-3c4d463eceb7155f139ef0f95717ac6331180e70.zip
Don't assume that $(inst_zonedir) is a subdir of $(inst_datadir).
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'							    ;\