1 # Don't remove $(outdir)/.log's. Logs are a target!
3 # we want to see botched results as well.
5 -MFINPUTS=$(src-dir) $(METAFONT) "\scrollmode; input $<;"
7 mv $(basename $<).dvi $(outdir)
10 $(outdir)/%.tfm $(outdir)/%.log: %.mf
11 MFINPUTS=$(src-dir) $(METAFONT) "\mode:=$(MFMODE); nonstopmode; input $<;"
12 # Let's keep this log output, it saves another mf run.
13 mv $(basename $(@F)).log $(basename $(@F)).tfm $(outdir)
14 rm -f $(basename $(@F)).*gf $(basename $(@F)).*pk
17 MFTRACE_FORMATS = pfa pfb svg
18 $(outdir)/%.pfb $(outdir)/%.svg $(outdir)/%.pfa: %.mf
19 MFINPUTS=$(src-dir) $(MFTRACE) $(MFTRACE_FLAGS) -I $(src-dir) -I $(outdir)/ --formats=pfa,pfb,svg $(basename $(@F))
20 # -mv $(MFTRACE_FORMATS:%=$(basename $(@F).%)) $(outdir)
21 -mv $(basename $(@F)).pfa $(outdir)
22 -mv $(basename $(@F)).pfb $(outdir)
23 -mv $(basename $(@F)).svg $(outdir)