Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
dekker-phd-thesis Makefile
920 B · 41 lines
Makefile
at develop
123456789101112131415161718192021222324252627282930313233343536373839404142TARGETS = dekker_thesis.pdf dekker_preamble.pdf
MAKE=makeLATEX=xelatexBIBTEX=biberMAKEGLOS=makeglossaries
.PHONY: FORCE
main: dekker_thesis.pdf
all: $(TARGETS)
latex.out/.sync: pipenv sync mkdir -p latex.out touch latex.out/.sync
%.pdf: %.tex latex.out/.sync assets FORCE $(info compiling $*) @pipenv run ./vendor/latexrun --latex-cmd=$(LATEX) --latex-args="-shell-escape --8bit" --bibtex-cmd=$(BIBTEX) --makeglossaries-cmd=$(MAKEGLOS) $<
assets: assets/img/back_chess1.pdf assets/img/back_chess2.pdf assets/img/back_chess3.pdf assets/img/back_chess4.pdf assets/img/rew_interpreter_plot.pdf
assets/img/%.pdf: assets/img/src/%.tex xelatex -output-directory=assets/img $< rm -f assets/img/$*.{aux,log}
update: pipenv lock rm -f latex.out/.sync
clean: ./vendor/latexrun --clean-all rm -f indent.log
clobber: rm -rf latex.out/* rm -f assets/img/{back_chess{1,2,3,4},rew_interpreter_plot}.*