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