Makefile 261 Bytes
Newer Older
Florian Walch's avatar
Florian Walch committed
1 2 3 4 5 6 7 8 9 10 11 12 13
FILE := main
OUT  := build

all:
	mkdir -p $(OUT)
	pdflatex -output-directory $(OUT) $(FILE)
	biber $(OUT)/$(FILE)
	cd $(OUT) && makeglossaries $(FILE)
	pdflatex -output-directory $(OUT) $(FILE)
	pdflatex -output-directory $(OUT) $(FILE)

clean:
	rm -rf $(OUT)