diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-10-15 08:09:33 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-10-15 08:09:33 +0000 |
| commit | 7735c1b42c3a2c4b0dd29ea132c3074fadd544a4 (patch) | |
| tree | c5a7c843d22cd046a9e3a1affc4375edbe234fa3 | |
| parent | 9701852f48745a3e4fd47bea9645ef6aa5da35f1 (diff) | |
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
| -rw-r--r-- | documentation/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
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 |
