3d-interface-rapport/rapport/Makefile

23 lines
518 B
Makefile
Raw Normal View History

2015-07-09 15:48:04 +01:00
TEXC = latexmk -lualatex -output-directory=build
.PHONY: FORCE
2015-09-14 13:45:57 +01:00
build/main.pdf: main.tex FORCE
2015-07-09 15:48:04 +01:00
$(TEXC) -latexoption=-shell-escape $<
2015-09-14 13:45:57 +01:00
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
2015-09-15 16:32:55 +01:00
push: compress
scp -P2222 build/main.pdf pi@dragonrock.no-ip.org:web/dragonrock/rapport.pdf
2015-07-09 15:48:04 +01:00
clean: FORCE
$(TEXC) -c
clean_all: FORCE
$(RM) -fr build