Revision 172, 463 bytes
(checked in by smidl, 16 years ago)
|
Latex doc
|
Rev | Line | |
---|
[172] | 1 | all: clean refman.pdf |
---|
[3] | 2 | |
---|
| 3 | pdf: refman.pdf |
---|
| 4 | |
---|
[172] | 5 | refman.pdf: refman.tex |
---|
| 6 | pdflatex refman.tex |
---|
[3] | 7 | makeindex refman.idx |
---|
[172] | 8 | pdflatex refman.tex |
---|
[3] | 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...." ;\ |
---|
[172] | 13 | pdflatex refman.tex ;\ |
---|
[3] | 14 | latex_count=`expr $$latex_count - 1` ;\ |
---|
| 15 | done |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | clean: |
---|
| 19 | rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf |
---|