doc/doxygen/latex/Makefile
changeset 207 b6572d0336c3
equal deleted inserted replaced
206:6787754b251b 207:b6572d0336c3
       
     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