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/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/metapost/base/source/Makefile b/Master/texmf-dist/doc/metapost/base/source/Makefile
index 7c14b2d2b08..39c8e9ad6d5 100644
--- a/Master/texmf-dist/doc/metapost/base/source/Makefile
+++ b/Master/texmf-dist/doc/metapost/base/source/Makefile
@@ -1,26 +1,33 @@
# $Id: Makefile,v 1.4 2005/03/21 15:25:51 taco Exp $
-# Makefile for mpman and mpgraph.
-# Public domain.
-#
-# (In TeX Live, another Makefile has rules for building grdemo and mpintro.)
-#
+# Makefile for MetaPost documentation. Public domain.
+# Rules for the groff/troff docs are in TeX Live,
+# texmf-dist/doc/metapost/base/Makefile.
pdflatex = pdflatex
+bibtex = bibtex
mpost = TEX=tex mpost
-all: mpman.pdf mpgraph.pdf
+all: mpman.pdf mpintro.pdf mpgraph.pdf grdemo.pdf
mpgraph.pdf: mpgraph.tex mpgraph.bib mpgraph.mp
$(mpost) mpgraph
$(pdflatex) mpgraph
- bibtex mpgraph
+ $(bibtex) mpgraph
$(pdflatex) mpgraph
$(pdflatex) mpgraph
+mpintro.pdf: mpintro.tex mpintro.bib examples.mp manfig.mp
+ $(mpost) examples
+ $(mpost) manfig
+ $(pdflatex) mpintro
+ $(bibtex) mpintro
+ $(pdflatex) mpintro
+ $(pdflatex) mpintro
+
mpman.pdf: mpman.tex mpman.bib mpman.ist manfig.mp
$(mpost) manfig
$(pdflatex) mpman
- bibtex mpman
+ $(bibtex) mpman
$(pdflatex) mpman
$(pdflatex) mpman
makeindex -s mpman.ist mpman