From f1df5822ce9689894383513da768785b24c68198 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Thu, 15 May 2014 11:06:52 +0200 Subject: Leave extension in .dep under mf/ , as we have multiple rules generating .dep files. --- stepmake/stepmake/metafont-vars.make | 5 +++-- 1 file 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 ) && -- cgit v1.2.3