-export TEXINPUTS=tex//:
+export TEXINPUTS=../tex//:
all: thesis.pdf abstract.pdf
# LaTeX je potreba spustit nekolikrat, aby spravne spocital odkazy
-thesis.pdf: thesis.tex $(wildcard *.tex) literatura.bib thesis.xmpdata
+thesis.pdf: thesis.tex $(wildcard *.tex) literatura.bib
pdflatex $<
bibtex thesis
pdflatex $<
pdflatex $<
-abstract.pdf: abstract.tex abstract.xmpdata
+abstract.pdf: abstract.tex
pdflatex $<
clean:
- rm -f *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg *.xmpi
+ rm -f *.aux *.bbl *.blg *.lof *.log *.lot *.out *.toc *.xmpdata *.xmpi
rm -f thesis.pdf abstract.pdf