Seemingly dellivelink.py works properly now, though
[dwarf-doc.git] / dwarf5 / latexdoc / Makefile
1
2 # Just using pdflatex will not work, the diagrams
3 # in the section-relationships appendix will not
4 # show up.
5 # Do latex multiple times to generate all the references
6 # completely.  Apparently the worst case (TOC using
7 # regular page numbers beginning at 1) 
8 # up to 4 times might be needed.
9 # You need to do makeindex before the final latex!
10 all:
11         latex -halt-on-error dwarf5.tex
12         latex -halt-on-error dwarf5.tex
13         makeindex dwarf5
14         latex -halt-on-error dwarf5.tex
15         latex -halt-on-error dwarf5.tex
16         dvips dwarf5.dvi -o dwarf5.ps
17         ps2pdf dwarf5.ps dwarf5.pdf
18 clean:
19         -rm -f *.dvi
20         -rm -f *.aux
21         -rm -f *.idx
22         -rm -f *.ilg
23         -rm -f *.ind
24         -rm -f *.toc
25         -rm -f *.log
26         -rm -f *.lof
27         -rm -f *.lot
28         -rm -f *.out
29         -rm -f *.ps
30         -rm -f p2.txt
31 archive:
32         sh bldtar.sh
33
34 # this is only useful if you ran make all beforehand
35 check:
36         @echo '**********************'
37         @echo '*** Cosmetic issues'
38         @echo '**********************'
39         @egrep '(Under)|(Over)' dwarf5.log || echo "None!"
40         @echo '**********************'
41         @echo '*** Missing references'
42         @echo '**********************'
43         @grep 'undef' dwarf5.log || echo "None!"
44