3d-interface-rapport/slides/Makefile

23 lines
449 B
Makefile

TEXC = latexmk -lualatex -output-directory=build
.PHONY: FORCE
all: sk build/main.pdf
pdf: build/main.pdf
sk:
cd ../common && make
build/%.pdf: %.tex FORCE
$(TEXC) -latexoption=-shell-escape $<
# cp build/main.pdf build/main.tmp.pdf
# gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=build/main.pdf build/main.tmp.pdf
# rm build/main.tmp.pdf
clean: FORCE
$(TEXC) -c
clean_all: FORCE
$(RM) -fr build