]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/metafont-vars.make
Leave extension in .dep under mf/ , as we have multiple rules
[lilypond.git] / 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 ) &&