]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/metapost-rules.make
Doc -- updates to music glossary by Kurtis Kroon
[lilypond.git] / stepmake / stepmake / metapost-rules.make
index a29f2508b46d6fc4516f8c97e12a2c8043b200ea..3bf28cab83988ea0cb20ccff792bc5d53dff20a9 100644 (file)
@@ -1,15 +1,14 @@
+# Don't remove $(outdir)/.log's.  Logs are a target!
 
-$(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) "&mfplain \mode=lowres; \mag=100.0; batchmode; input $<"
-#      -mp "&mfmp \mode=ljfour; \mag=100.0; batchmode; input $<"
-#      -mp "&mfplain modes \mode=ljfour; \mag=100.0; batchmode; \\input $<"
-#      -mp "&mfplain \mode=lowres; \mag=10.0; batchmode; input $<"
-#      -mp "&mfplain \mode=lowres; \mag=1.0; batchmode; input $<"
-       $(PYTHON) $(depth)/buildscripts/ps-to-pfa.py $<
+$(outdir)/%.0: %.mf $(outdir)/mfplain.mem
+       -$(METAPOST) "&$(outdir)/mfplain \mode=lowres; \mag=1.0; nonstopmode; input $<"
+
+$(outdir)/mfplain.mem: $(MFPLAIN_MP)
+       $(INIMETAPOST)  $(INIMETAPOST_FLAGS) $(MFPLAIN_MP) dump
+       mv mfplain.* $(outdir)
+
+$(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
+       rm -f $(basename $(@F)).tfm $(basename $(@F)).log