This commit is contained in:
Thomas FORGIONE
2015-09-14 14:45:57 +02:00
parent 8bde6c3105
commit 1f50595bc3
4 changed files with 18 additions and 5 deletions
+8 -1
View File
@@ -2,9 +2,16 @@ TEXC = latexmk -lualatex -output-directory=build
.PHONY: FORCE
build/rapprt.pdf: main.tex FORCE
build/main.pdf: main.tex FORCE
$(TEXC) -latexoption=-shell-escape $<
compress: build/main.pdf
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
all: build/main.pdf
clean: FORCE
$(TEXC) -c