diff options
Diffstat (limited to 'Master/texmf-dist/doc/metapost/drv/template/makefile')
-rw-r--r-- | Master/texmf-dist/doc/metapost/drv/template/makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/drv/template/makefile b/Master/texmf-dist/doc/metapost/drv/template/makefile new file mode 100644 index 00000000000..239bbc6a46e --- /dev/null +++ b/Master/texmf-dist/doc/metapost/drv/template/makefile @@ -0,0 +1,46 @@ +MAIN= template + +$(MAIN).pdf: $(MAIN).ps + ps2pdf $(MAIN).ps + +$(MAIN).ps: $(MAIN).tex $(MAIN)-delayed.mp + latex $(MAIN) + latex $(MAIN) + latex $(MAIN) + dvips $(MAIN) -o + +$(MAIN)-proof.pdf: $(MAIN)-proof.ps + ps2pdf $(MAIN)-proof.ps + +$(MAIN)-proof.ps: $(MAIN)-delayed.mp + latex $(MAIN)-proof + dvips $(MAIN)-proof -o + +$(MAIN)-delayed.mp: $(MAIN).mp + $(RM) $(MAIN)-delayed.mp + mpost $(MAIN) + mpost $(MAIN) + mpost $(MAIN) + +.SILENT clean: + $(RM) drv.mpx + $(RM) $(MAIN).[0-9]* + $(RM) $(MAIN).aux + $(RM) $(MAIN).dvi + $(RM) $(MAIN).log + $(RM) $(MAIN).nav + $(RM) $(MAIN).out + $(RM) $(MAIN).toc + $(RM) $(MAIN)-delayed.mp + $(RM) $(MAIN)-delayed.mpx + $(RM) $(MAIN)-proof.aux + $(RM) $(MAIN)-proof.dvi + $(RM) $(MAIN)-proof.log + $(RM) $(MAIN)-proof.tex + $(RM) $(MAIN)-proof.toc + +cleanall: clean + $(RM) $(MAIN).pdf + $(RM) $(MAIN).ps + $(RM) $(MAIN)-proof.pdf + $(RM) $(MAIN)-proof.ps |