author | lbessard |
Tue, 05 Jun 2007 17:34:33 +0200 | |
changeset 209 | 2cb34a4ac65a |
parent 207 | b6572d0336c3 |
permissions | -rw-r--r-- |
207 | 1 |
all: clean refman.pdf |
2 |
||
3 |
refman.pdf: refman.tex |
|
4 |
pdflatex refman.tex |
|
5 |
makeindex refman.idx |
|
6 |
pdflatex refman.tex |
|
7 |
latex_count=5 ; \ |
|
8 |
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ |
|
9 |
do \ |
|
10 |
echo "Rerunning latex...." ;\ |
|
11 |
pdflatex refman.tex ;\ |
|
12 |
latex_count=`expr $$latex_count - 1` ;\ |
|
13 |
done |
|
14 |
||
15 |
||
16 |
clean: |
|
17 |
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf |