blob: 351266a910f68e03302228e1e9074df8213d57ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
rerun = "(There were undefined references|Rerun to get (cross-references|the bars) right)"
doc = pgfmanual
latex = latex
all: $(doc).pdf
pgfmanual.idx:
touch pgfmanual.idx
pgfmanual.ind: pgfmanual.idx
makeindex $(doc).idx
pgfmanual.pdf: $(doc).tex $(doc).ind
($(latex) $(doc).tex) || true
(egrep -q $(rerun) $(doc).log && $(latex) $(doc).tex) || true
dvipdfm $(doc)
clean:
rm -f *.aux *.log *.bbl *.blg *.ps *.dvi *.pdf *.toc *.out *.snm
|