]>
Commit | Line | Data |
---|---|---|
b7c75283 RD |
1 | all: refman.dvi |
2 | ||
3 | ps: refman.ps | |
4 | ||
5 | pdf: refman.pdf | |
6 | ||
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 | gswin32c -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=refman.pdf -c save pop -f refman.ps | |
16 | ||
17 | refman.dvi: 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 | ||
32 | refman_2on1.ps: refman.ps | |
33 | psnup -2 refman.ps >refman_2on1.ps | |
34 | ||
35 | refman_2on1.pdf: refman_2on1.ps | |
36 | gswin32c -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=refman_2on1.pdf -c save pop -f refman_2on1.ps | |
37 | ||
38 | clean: | |
39 | rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out |