OPTIONS=-shell-escape -file-line-error -synctex=1 -interaction=batchmode
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)

.PHONY: build