OPTIONS=-shell-escape -file-line-error -synctex=1 SOURCE=report all: latexmk debug: lualatex -shell-escape -file-line-error $(SOURCE) build: lualatex $(OPTIONS) $(SOURCE) latexmk: latexmk -pdf $(SOURCE) bib: biber --output-directory=build $(SOURCE) glossaries: makeglossaries -d build $(SOURCE) index: makeindex -d build $(SOURCE) .PHONY: build