summaryrefslogtreecommitdiff
path: root/stepmake
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@lilypond.org>2014-05-15 11:06:52 +0200
committerhanwen <hanwen@lilypond.org>2014-05-22 07:58:50 +0200
commitf1df5822ce9689894383513da768785b24c68198 (patch)
treef27decce12ab1d628c01cbae62b3e213993af82d /stepmake
parent57ffd7abe84ffb14e82902b2616ee3fbaf808fd2 (diff)
Leave extension in .dep under mf/ , as we have multiple rules
generating .dep files.
Diffstat (limited to 'stepmake')
-rw-r--r--stepmake/stepmake/metafont-vars.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/stepmake/stepmake/metafont-vars.make b/stepmake/stepmake/metafont-vars.make
index 73f35a53ed..1e50a183f5 100644
--- a/stepmake/stepmake/metafont-vars.make
+++ b/stepmake/stepmake/metafont-vars.make
@@ -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 ) &&