This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

33 lines
581 B
Makefile

TARGETS = dekker_thesis.pdf dekker_preamble.pdf
MAKE=make
LATEX=xelatex
BIBTEX=biber
MAKEGLOS=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 FORCE
$(info compiling $@)
@pipenv run ./vendor/latexrun --latex-cmd=$(LATEX) --latex-args="-shell-escape --8bit" --bibtex-cmd=$(BIBTEX) --makeglossaries-cmd=$(MAKEGLOS) $<
update:
pipenv lock
rm -f latex.out/.sync
clean:
./vendor/latexrun --clean-all
rm -f indent.log
clobber:
rm -rf latex.out/*