Rev | Line | |
---|
[141] | 1 | all: refman.pdf
|
---|
| 2 |
|
---|
| 3 | pdf: refman.pdf
|
---|
| 4 |
|
---|
| 5 | refman.pdf: clean refman.tex
|
---|
| 6 | pdflatex refman
|
---|
| 7 | makeindex refman.idx
|
---|
| 8 | pdflatex refman
|
---|
| 9 | latex_count=8 ; \
|
---|
| 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 ;\
|
---|
| 14 | latex_count=`expr $$latex_count - 1` ;\
|
---|
| 15 | done
|
---|
| 16 | makeindex refman.idx
|
---|
| 17 | pdflatex refman
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | clean:
|
---|
| 21 | rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
|
---|
Note:
See
TracBrowser
for help on using the repository browser.