root/doc/latex/Makefile @ 99

Revision 3, 0.8 kB (checked in by smidl, 16 years ago)

nova verze + doxygen

Line 
1all: clean 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        ps2pdf refman.ps refman.pdf
16
17refman.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
32refman_2on1.ps: refman.ps
33        psnup -2 refman.ps >refman_2on1.ps
34
35refman_2on1.pdf: refman_2on1.ps
36        ps2pdf refman_2on1.ps refman_2on1.pdf
37
38clean:
39        rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf
Note: See TracBrowser for help on using the browser.