Bc: Makefile
parent
639cc72dd1
commit
5290af05bc
@ -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
|
||||
|
Loading…
Reference in New Issue