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