]> git.donarmstrong.com Git - lilypond.git/commitdiff
Leave extension in .dep under mf/ , as we have multiple rules
authorHan-Wen Nienhuys <hanwen@lilypond.org>
Thu, 15 May 2014 09:06:52 +0000 (11:06 +0200)
committerhanwen <hanwen@lilypond.org>
Thu, 22 May 2014 05:58:50 +0000 (07:58 +0200)
generating .dep files.

stepmake/stepmake/metafont-vars.make

index 73f35a53ed68cd0490ccaa367b5f58fe83739492..1e50a183f53e912a9edcb64764177b8c9f8980e9 100644 (file)
@@ -34,5 +34,6 @@ $(foreach f, $(shell test -f $(1) && sed -ne "/^[[:space:]]*input[[:space:]]/s/^
 )
 
 # Find dependencies for the target $@, based on the metafont source file $<,
-# and write the dependencies to a .dep file.
-DO_MF_DEP = ( echo ./$@: $(call scan-mf,$<) > $(basename $@).dep ) &&
+# and write the dependencies to a .dep file. We cannot strip the extension of $@,
+# because we have multiple rules generating .dep files.
+DO_MF_DEP = ( echo ./$@: $(call scan-mf,$<) > $@.dep ) &&