summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/base/source/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/metapost/base/source/Makefile')
-rw-r--r--Master/texmf-dist/doc/metapost/base/source/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/base/source/Makefile b/Master/texmf-dist/doc/metapost/base/source/Makefile
new file mode 100644
index 00000000000..ce7f3098a02
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/base/source/Makefile
@@ -0,0 +1,31 @@
+# Makefile for mpman and mpgraph.
+# (../Makefile has rules for building grdemo and mpintro.)
+#
+%.pdf: %.ps
+ ps2pdf $< || rm -f $@
+
+%.ps: %.dvi
+ dvips -t letter $< -o $@ || rm -f $@
+
+all: mpman.pdf mpgraph.pdf
+
+mpgraph.dvi: mpgraph.tex mpgraph.bib mpgraph.mp
+ mpost mpgraph
+ latex mpgraph
+ bibtex mpgraph
+ latex mpgraph
+ latex mpgraph
+
+mpman.dvi: mpman.tex mpman.bib mpman.ist manfig.mp
+ mpost manfig
+ latex mpman
+ bibtex mpman
+ latex mpman
+ latex mpman
+ makeindex -s mpman.ist mpman
+ latex mpman
+
+clean distclean:
+ rm -f manfig.[0-9]* mpgraph.[0-9]*
+ rm -f *.aux *.bbl *.blg *.dvi *.log *.mpx *.pdf *.ps
+ rm -f *.idx *.ilg *.ind *.toc