]> mj.ucw.cz Git - diplomky.git/blob - Makefile
b48a16a41369be8bf04b751f9a5fd908c0be4da5
[diplomky.git] / Makefile
1 export TEXINPUTS=../tex//:
2
3 all: thesis.pdf abstract.pdf
4
5 # LaTeX must be run multiple times to get references right
6 thesis.pdf: thesis.tex $(wildcard *.tex) bibliography.bib
7         pdflatex $<
8         bibtex thesis
9         pdflatex $<
10         pdflatex $<
11
12 abstract.pdf: abstract.tex abstract.xmpdata
13         pdflatex $<
14
15 clean:
16         rm -f *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg *.xmpi *.xmpdata
17         rm -f thesis.pdf abstract.pdf