]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/metapost-rules.make
Add support for max-systems-per-page.
[lilypond.git] / stepmake / stepmake / metapost-rules.make
index 2ecf0bc232cf81c793f748d0a07e35cab45d64ce..3bf28cab83988ea0cb20ccff792bc5d53dff20a9 100644 (file)
@@ -1,13 +1,14 @@
+# Don't remove $(outdir)/.log's.  Logs are a target!
 
-$(outdir)/%.0: %.mf mfplain.mem  
-       -$(METAPOST) "&mfplain \mode=lowres; \mag=1.0; nonstopmode; input $<"
+$(outdir)/%.0: %.mf $(outdir)/mfplain.mem
+       -$(METAPOST) "&$(outdir)/mfplain \mode=lowres; \mag=1.0; nonstopmode; input $<"
 
-mfplain.mem: $(MFPLAIN_MP)
+$(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