SOURCE=main TARGET=book TEXC=lualatex all: $(SOURCE).pdf %.pdf: %.tex lualatex $< biber $(SOURCE) makeindex main.idx -s indexstyle.ist makeglossaries $(SOURCE) lualatex $< lualatex $< publish: cp $(SOURCE).pdf ../doc/$(TARGET).pdf clean: ./clean.sh