export TEXINPUTS=../tex//: all: thesis.pdf abstract.pdf verapdf_report.xml # LaTeX must be run multiple times to get references right thesis.pdf: thesis.tex $(wildcard *.tex) bibliography.bib thesis.xmpdata pdflatex $< bibtex thesis pdflatex $< pdflatex $< abstract.pdf: abstract.tex abstract.xmpdata pdflatex $< verapdf_report.xml: thesis.pdf abstract.pdf verapdf_profile_UK7987v1c8.xml verapdf --profile verapdf_profile_UK7987v1c8.xml thesis.pdf abstract.pdf >$@ clean: rm -f *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg *.xmpi rm -f thesis.pdf abstract.pdf