build: clean
	mkdir -p outputs/parts outputs/sections
	latexmk -lualatex -shell-escape -e '$$max_repeat=8' -f -g -outdir=outputs -auxdir=outputs -interaction=nonstopmode licenta.tex

clean:
	rm -rf outputs

logs:
	# grep -n -C 3 -Ei "error|warning" outputs/licenta.log
	./parser.py
