Changeset 172 for doc/latex/Makefile
- Timestamp:
- 09/24/08 13:31:03 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/Makefile
r3 r172 1 all: clean refman.dvi 2 3 ps: refman.ps 1 all: clean refman.pdf 4 2 5 3 pdf: refman.pdf 6 4 7 ps_2on1: refman_2on1.ps 8 9 pdf_2on1: refman_2on1.pdf 10 11 refman.ps: refman.dvi 12 dvips -o refman.ps refman.dvi 13 14 refman.pdf: refman.ps 15 ps2pdf refman.ps refman.pdf 16 17 refman.dvi: refman.tex doxygen.sty 18 echo "Running latex..." 19 latex refman.tex 20 echo "Running makeindex..." 5 refman.pdf: refman.tex 6 pdflatex refman.tex 21 7 makeindex refman.idx 22 echo "Rerunning latex...." 23 latex refman.tex 8 pdflatex refman.tex 24 9 latex_count=5 ; \ 25 10 while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ 26 11 do \ 27 12 echo "Rerunning latex...." ;\ 28 latex refman.tex ;\13 pdflatex refman.tex ;\ 29 14 latex_count=`expr $$latex_count - 1` ;\ 30 15 done 31 16 32 refman_2on1.ps: refman.ps33 psnup -2 refman.ps >refman_2on1.ps34 35 refman_2on1.pdf: refman_2on1.ps36 ps2pdf refman_2on1.ps refman_2on1.pdf37 17 38 18 clean: