TARGET=ba COMPILER=xelatex -shell-escape --synctex=1 -output-driver="xdvipdfmx -z 1" TEX_SOURCES=$(TARGET).tex content/*.tex VERAPDF=/opt/verapdf/verapdf all: fast bibtex fast-verify: fast verify verify: $(TARGET).pdf $(VERAPDF) --format text $(TARGET).pdf fast: $(TEX_SOURCES) $(COMPILER) -halt-on-error $(TARGET) bibtex: $(TARGET).aux $(COMPILER) -halt-on-error $(TARGET) biber $(TARGET) $(COMPILER) -halt-on-error $(TARGET) $(COMPILER) -halt-on-error $(TARGET) makeglossaries $(TARGET) $(COMPILER) -halt-on-error $(TARGET) $(COMPILER) -halt-on-error $(TARGET) index: $(TARGET).aux $(COMPILER) -halt-on-error $(TARGET) makeindex $(TARGET) $(COMPILER) -halt-on-error $(TARGET) $(COMPILER) -halt-on-error $(TARGET) clean: rm -f *.log *.toc *.lof *.lot *.out *.pdf *.aux *.bbl *.blg *.idx *.ilg *.ind *.lol *.acn *.bcf *.glo *.ist *.run.xml *.xmpdata *.xmpi *.acr *.alg *.glg *.gls