source: lgi/trunk/fuentes/docs/latex/Makefile @ 79

Last change on this file since 79 was 79, checked in by jrpelegrina, 4 years ago

Imported from trusty

File size: 508 bytes
Line 
1all: refman.pdf
2
3pdf: refman.pdf
4
5refman.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
20clean:
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.