Doxygen documentation: added svn properties to ignore temp files, set pdf file mime-type to octet stream. Created a custom output log that captures all pdflatex output and makeindex output as we could loose some of them in the standard refman.log because of the iterating crazy nature of these latex tools. Now make pdf file generates the full baby (including ToC) in one shot.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6435 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Fabien Costantini 2008-10-15 08:09:33 +00:00
parent 9701852f48
commit 7735c1b42c
1 changed files with 11 additions and 8 deletions

View File

@ -211,18 +211,21 @@ html/index.html: $(IMAGEFILES)
pdf: refman.pdf
refman.pdf: latex/refman.tex
(cd latex; pdflatex --interaction=batchmode refman.tex )
(cd latex; makeindex refman.idx)
(cd latex; pdflatex --interaction=batchmode refman.tex )
latex_count=5; \
cd latex ; \
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
echo "Generating PDF documentation..."
(cd latex ;\
pdflatex --interaction=nonstopmode refman.tex ;\
makeindex refman.idx ;\
pdflatex --interaction=nonstopmode refman.tex ;\
latex_count=5;\
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log \
&& [ $$latex_count -gt 0 ] ;\
do \
echo "Rerunning latex...." ;\
pdflatex --interaction=batchmode refman.tex ;\
pdflatex --interaction=nonstopmode refman.tex ;\
latex_count=`expr $$latex_count - 1` ;\
done ; \
cd ..
cp -f refman.pdf ../fltk.pdf ; \
cd ..) > pdfall.log
latex/refman.tex: html/index.html