|
Revision 172, 463 bytes
(checked in by smidl, 17 years ago)
|
|
Latex doc
|
| Line | |
|---|
| 1 | all: clean refman.pdf |
|---|
| 2 | |
|---|
| 3 | pdf: refman.pdf |
|---|
| 4 | |
|---|
| 5 | refman.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 | |
|---|
| 18 | clean: |
|---|
| 19 | rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf |
|---|