From: Martin Mares Date: Mon, 17 Jan 2011 15:46:01 +0000 (+0100) Subject: Bc: Makefile X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=5290af05bcf7a9ef7135d797a1df5c389227bfe9;p=diplomky.git Bc: Makefile --- diff --git a/mff/template-bc/Makefile b/mff/template-bc/Makefile index 62f671b..807ab53 100644 --- a/mff/template-bc/Makefile +++ b/mff/template-bc/Makefile @@ -1,11 +1,19 @@ -all: prace.ps +all: prace.pdf + +# Vyroba PDF primo z DVI by byla prijemnejsi, ale vetsina verzi dvipdfm nici obrazky +# prace.pdf: prace.dvi +# dvipdfm -o $@ -p a4 -r 600 $< + +prace.pdf: prace.ps + ps2pdf $< $@ prace.ps: prace.dvi dvips -o $@ -D600 -t a4 $< -prace.dvi: prace.tex +# LaTeX je potreba spustit dvakrat, aby spravne spocital odkazy +prace.dvi: prace.tex $(wildcard *.tex) latex $< latex $< clean: - rm -f *.{log,dvi,ps,aux,toc,lof} + rm -f *.{log,dvi,aux,toc,lof} prace.ps prace.pdf