]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix make Metafont rules again
authorJohn Mandereau <john.mandereau@gmail.com>
Thu, 7 Feb 2008 16:31:58 +0000 (17:31 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Thu, 7 Feb 2008 16:31:58 +0000 (17:31 +0100)
$(src-dir) equals "." for builds with the same build dir as source
dir, which causes 'make all' failure without this fix.

stepmake/stepmake/metafont-rules.make

index dfae13f1b454ff224607918e2637b4cd7538de9d..64bdecf6775fcc8df561ad3313ac573251aa677f 100644 (file)
@@ -19,7 +19,7 @@ $(outdir)/%.pfb: %.mf $(outdir)/mf2pt1.mem
        TMP=`mktemp -d $(outdir)/pfbtemp.XXXXXXXXX` \
        && ( cd $$TMP \
                && ln -s ../mf2pt1.mem . \
-               && MFINPUTS=$(src-dir):..:: $(PERL) $(top-src-dir)/buildscripts/mf2pt1.pl $(MF2PT1_OPTIONS) $< ) \
+               && MFINPUTS=$(top-src-dir)/mf:..:: $(PERL) $(top-src-dir)/buildscripts/mf2pt1.pl $(MF2PT1_OPTIONS) $< ) \
        && mv $$TMP/*pfb $(outdir); \
        rm -rf $$TMP