X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fmetapost-rules.make;h=38a9322a04df7bff966e463b7f10ab37c3c65d08;hb=12e7cacbb549cab560634e65eec1cb4c88809662;hp=4cd6423483dc3075d5cdefa3a262c2d8163c3aa4;hpb=d5cb9291cc9dda11f5644b0ded2fc95dff313aa3;p=lilypond.git diff --git a/stepmake/stepmake/metapost-rules.make b/stepmake/stepmake/metapost-rules.make index 4cd6423483..38a9322a04 100644 --- a/stepmake/stepmake/metapost-rules.make +++ b/stepmake/stepmake/metapost-rules.make @@ -1,17 +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 $< - rm -f $(basename $(@F)).[0-9]* - rm -f $(basename $<).log $(basename $<).tfm - +$(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) -#dokkum:~/usr/src/lilypond/mf$ inimpost /usr/share/texmf/metapost/base/mfplain.mp -#[....] \dump +$(outdir)/%.pfa: $(outdir)/%.0 + $(PYTHON) $(depth)/buildscripts/ps-to-pfa.py --output $(basename $<).pfa $< + rm -f $(basename $(@F)).[0-9]* + rm -f $(basename $(@F)).tfm $(basename $(@F)).log