From 7735c1b42c3a2c4b0dd29ea132c3074fadd544a4 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Wed, 15 Oct 2008 08:09:33 +0000 Subject: 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 --- documentation/Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'documentation') diff --git a/documentation/Makefile b/documentation/Makefile index c1b30108b..576b8f05b 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -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 -- cgit v1.2.3