export TEXINPUTS=../tex//:
all: vlna prace.pdf sighup
# LaTeX je potreba spustit nekolikrat, aby spravne spocital odkazy
prace.pdf: prace.tex $(wildcard *.tex) literatura.bib prace.xmpdata
pdflatex $<
bibtex prace
vlna: $(wildcard *.tex)
-vlna -l $^
clean:
rm -f *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg *.xmpi *.lol
rm -f prace.pdf
sighup:
killall -s SIGHUP mupdf