1
0
Fork 0

Force make to always build the thesis

This is much simpler and friendlier than trying to cover all the actual
dependencies (including pictures, build process itself, &c.)

Yes, it dumbs down make to be a worse shell script. This is a quick
hack, I do not care.
master
LEdoian 1 year ago
parent bb38c3bdc5
commit b9b06990f4

2
en/.gitignore vendored

@ -15,3 +15,5 @@ pdfa.xmpi
# The final artifacts are also generated
thesis.pdf
abstract.pdf
always_build

@ -1,21 +1,28 @@
export TEXINPUTS=../tex//:
all: thesis.pdf abstract.pdf verapdf_report.xml
all: always_build 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
touch always_build
pdflatex $<
bibtex thesis
pdflatex $<
pdflatex $<
abstract.pdf: abstract.tex abstract.xmpdata
abstract.pdf: abstract.tex abstract.xmpdata always_build
touch always_build
pdflatex $<
verapdf_report.xml: thesis.pdf abstract.pdf verapdf_profile_UK7987v1c8.xml
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 > $@
./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 $@

Loading…
Cancel
Save