X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fmetapost-rules.make;h=3bf28cab83988ea0cb20ccff792bc5d53dff20a9;hb=03302c2f0fec2ccf1484b1ab316f90d4c17b786d;hp=f72cb62963c4d9ad7af46cc119b50ba73a6b2c31;hpb=35b22a3ae58b3b8694ce65e374041643ff124b70;p=lilypond.git diff --git a/stepmake/stepmake/metapost-rules.make b/stepmake/stepmake/metapost-rules.make index f72cb62963..3bf28cab83 100644 --- a/stepmake/stepmake/metapost-rules.make +++ b/stepmake/stepmake/metapost-rules.make @@ -1,12 +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 $<" -# -$(METAPOST) "&mfmp \mode=ljfour; \mag=100.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