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/Makefile36
1 files changed, 18 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/metapost/base/source/Makefile b/Master/texmf-dist/doc/metapost/base/source/Makefile
index ce7f3098a02..7c14b2d2b08 100644
--- a/Master/texmf-dist/doc/metapost/base/source/Makefile
+++ b/Master/texmf-dist/doc/metapost/base/source/Makefile
@@ -1,31 +1,31 @@
+# $Id: Makefile,v 1.4 2005/03/21 15:25:51 taco Exp $
# Makefile for mpman and mpgraph.
-# (../Makefile has rules for building grdemo and mpintro.)
+# Public domain.
#
-%.pdf: %.ps
- ps2pdf $< || rm -f $@
+# (In TeX Live, another Makefile has rules for building grdemo and mpintro.)
+#
-%.ps: %.dvi
- dvips -t letter $< -o $@ || rm -f $@
+pdflatex = pdflatex
+mpost = TEX=tex mpost
all: mpman.pdf mpgraph.pdf
-mpgraph.dvi: mpgraph.tex mpgraph.bib mpgraph.mp
- mpost mpgraph
- latex mpgraph
+mpgraph.pdf: mpgraph.tex mpgraph.bib mpgraph.mp
+ $(mpost) mpgraph
+ $(pdflatex) mpgraph
bibtex mpgraph
- latex mpgraph
- latex mpgraph
+ $(pdflatex) mpgraph
+ $(pdflatex) mpgraph
-mpman.dvi: mpman.tex mpman.bib mpman.ist manfig.mp
- mpost manfig
- latex mpman
+mpman.pdf: mpman.tex mpman.bib mpman.ist manfig.mp
+ $(mpost) manfig
+ $(pdflatex) mpman
bibtex mpman
- latex mpman
- latex mpman
+ $(pdflatex) mpman
+ $(pdflatex) mpman
makeindex -s mpman.ist mpman
- latex mpman
+ $(pdflatex) mpman
clean distclean:
- rm -f manfig.[0-9]* mpgraph.[0-9]*
- rm -f *.aux *.bbl *.blg *.dvi *.log *.mpx *.pdf *.ps
+ rm -f *.aux *.bbl *.blg *.dvi *.log *.mpx *.mps
rm -f *.idx *.ilg *.ind *.toc