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.
2021-06-10 12:11:39 +10:00

32 lines
552 B
Makefile

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/*