source: Vago/quazip-0.7.2/doc/latex/Makefile@ 1052

Last change on this file since 1052 was 1049, checked in by s10k, 8 years ago
File size: 996 bytes
RevLine 
[1049]1all: refman.dvi
2
3ps: refman.ps
4
5pdf: refman.pdf
6
7ps_2on1: refman_2on1.ps
8
9pdf_2on1: refman_2on1.pdf
10
11refman.ps: refman.dvi
12 dvips -o refman.ps refman.dvi
13
14refman.pdf: refman.ps
15 gswin32c -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=refman.pdf -c save pop -f refman.ps
16
17refman.dvi: clean refman.tex doxygen.sty
18 echo "Running latex..."
19 latex refman.tex
20 echo "Running makeindex..."
21 makeindex refman.idx
22 echo "Rerunning latex...."
23 latex refman.tex
24 latex_count=5 ; \
25 while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
26 do \
27 echo "Rerunning latex...." ;\
28 latex refman.tex ;\
29 latex_count=`expr $$latex_count - 1` ;\
30 done
31
32refman_2on1.ps: refman.ps
33 psnup -2 refman.ps >refman_2on1.ps
34
35refman_2on1.pdf: refman_2on1.ps
36 gswin32c -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=refman_2on1.pdf -c save pop -f refman_2on1.ps
37
38clean:
39 del /s/y *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf
Note: See TracBrowser for help on using the repository browser.