root/doc/latex/Makefile @ 255

Revision 172, 463 bytes (checked in by smidl, 16 years ago)

Latex doc

Line 
1all: clean refman.pdf
2
3pdf: refman.pdf
4
5refman.pdf: refman.tex
6        pdflatex refman.tex
7        makeindex refman.idx
8        pdflatex refman.tex
9        latex_count=5 ; \
10        while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
11            do \
12              echo "Rerunning latex...." ;\
13              pdflatex refman.tex ;\
14              latex_count=`expr $$latex_count - 1` ;\
15            done
16
17
18clean:
19        rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf
Note: See TracBrowser for help on using the browser.