28 lines
411 B
Makefile
28 lines
411 B
Makefile
TARGETS = dekker_thesis.pdf
|
|
|
|
MAKE=make
|
|
LATEX=xelatex
|
|
BIBTEX=biber
|
|
BUILDDIR=build
|
|
|
|
.PHONY: FORCE
|
|
|
|
all: $(TARGETS)
|
|
|
|
$(BUILDDIR)/.sync:
|
|
pipenv sync
|
|
|
|
%.pdf: %.tex FORCE
|
|
pipenv run ./latexrun --latex-cmd=$(LATEX) --latex-args="-shell-escape --8bit" --bibtex-cmd=$(BIBTEX) -O $(BUILDDIR) $<
|
|
|
|
update:
|
|
pipenv lock
|
|
rm -f $(BUILDDIR)/.sync
|
|
|
|
clean:
|
|
./latexrun --clean-all
|
|
rm -f indent.log
|
|
|
|
clobber:
|
|
rm -rf build/
|