TARGETS = dekker_thesis.pdf dekker_preamble.pdf MAKE=make LATEX=xelatex BIBTEX=biber MAKEGLOS=makeglossaries BUILDDIR=build .PHONY: FORCE main: dekker_thesis.pdf all: $(TARGETS) $(BUILDDIR)/.sync: pipenv sync %.pdf: %.tex FORCE $(info compiling $@) @pipenv run ./vendor/latexrun --latex-cmd=$(LATEX) --latex-args="-shell-escape --8bit" --bibtex-cmd=$(BIBTEX) --makeglossaries-cmd=$(MAKEGLOS) -O $(BUILDDIR) $< update: pipenv lock rm -f $(BUILDDIR)/.sync clean: ./vendor/latexrun --clean-all rm -f indent.log clobber: rm -rf build/*