summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/base/source/Makefile
blob: ce7f3098a02f35d832d5020e51dd1f5b6941e55e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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