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