]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/metapost-rules.make
release: 1.1.39
[lilypond.git] / stepmake / stepmake / metapost-rules.make
index cddbaf88c53c5ff5d23d57705e102c36c3795727..525777d6f9e8ceaed750a3a95bcaaacbbfba357f 100644 (file)
@@ -1,13 +1,16 @@
 
-$(outdir)/%.pfa: %.mf
 # urg
 # i've got no idea what this scaling could be for, on both sides...
 # it seems that 'low_res', which should be all we ever need according
 # to the metapost mfplain guru, really does 200dpi, iso 600dpi (minimun)
 #      -$(METAPOST) "&mfmp \mode=ljfour; \mag=100.0; batchmode; input $<"
 #      -$(METAPOST) "&mfplain \mode=lowres; \mag=100.0; batchmode; input $<"
+
+$(outdir)/%.0: %.mf
        -$(METAPOST) "&mfplain \mode=lowres; \mag=30.0; batchmode; input $<"
-       $(PYTHON) $(depth)/buildscripts/ps-to-pfa.py $<
+
+$(outdir)/%.pfa: $(outdir)/%.0
+       $(PYTHON) $(depth)/buildscripts/ps-to-pfa.py --output $(basename $<).pfa $<
        rm -f $(basename $(@F)).[0-9]*
        rm -f $(basename $<).log $(basename $<).tfm