]> git.donarmstrong.com Git - lilypond.git/commitdiff
mf: Set FONTFORGE environment variable while calling `mf2pt1' (#3914).
authorWerner Lemberg <wl@gnu.org>
Sat, 10 May 2014 09:07:31 +0000 (11:07 +0200)
committerWerner Lemberg <wl@gnu.org>
Sat, 10 May 2014 09:10:16 +0000 (11:10 +0200)
Otherwise the script takes the first binary found in the path, regardless of
the value used while calling `configure'.

stepmake/stepmake/metafont-rules.make

index 5be005a1985dc7e998a0d85df79b40c48f4784fe..1db797468fbcd034afc444970f5de8386d9ac406 100644 (file)
@@ -23,7 +23,9 @@ $(outdir)/%.pfb: %.mf $(outdir)/mf2pt1.mem $(outdir)/%.log
        && ( cd $$TMP \
                && ln -s ../mf2pt1.mem . \
                && ln -s ../../mf2pt1.mp . \
-               && MFINPUTS=$(abs-src-dir):..:: $(buildscript-dir)/mf2pt1 $(MF2PT1_OPTIONS) $< $(METAFONT_QUIET)) \
+               && MFINPUTS=$(abs-src-dir):..:: \
+                  FONTFORGE=$(FONTFORGE) \
+                  $(buildscript-dir)/mf2pt1 $(MF2PT1_OPTIONS) $< $(METAFONT_QUIET)) \
        && mv $$TMP/*pfb $(outdir); \
        rm -rf $$TMP