]> mj.ucw.cz Git - ads1.git/blob - Makerules
Prechod na novy format sazby
[ads1.git] / Makerules
1 export TEXINPUTS=.:..:../ucw:
2
3 all: $P.ps $P.pdf
4
5 %.dvi: %.tex ../lecnotes.tex
6         csplain $<
7
8 %.ps: %.dvi
9         dvips -D600 -o $@ -t a5 $<
10
11 %.pdf: %.ps
12         ps2pdf $< $@
13
14 mostlyclean:
15         rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg
16
17 clean:: mostlyclean
18         rm -f *.ps *.pdf
19
20 ifndef CUSTOM_UPLOAD
21 upload::
22         make $P.pdf
23         rsync $P.pdf jabberwock:www/vyuka/1011/ads1/$P.pdf
24 endif
25
26 .SECONDARY: