3d-interface-rapport/rapport/Makefile

25 lines
573 B
Makefile
Raw Normal View History

2015-07-09 16:48:04 +02:00
TEXC = latexmk -lualatex -output-directory=build
.PHONY: FORCE
2015-09-17 10:17:07 +02:00
all: sk build/main.pdf
sk:
2015-09-21 09:44:35 +02:00
cd ../common && make
2015-09-17 10:17:07 +02:00
2015-09-14 14:45:57 +02:00
build/main.pdf: main.tex FORCE
2015-07-09 16:48:04 +02:00
$(TEXC) -latexoption=-shell-escape $<
2015-09-14 14:45:57 +02:00
compress: build/main.pdf
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=build/main.min.pdf build/main.pdf
2015-09-14 14:45:57 +02:00
2015-09-15 17:32:55 +02:00
push: compress
scp -P2222 build/main.pdf pi@dragonrock.no-ip.org:web/dragonrock/rapport.pdf
scp -P2222 build/main.min.pdf pi@dragonrock.no-ip.org:web/dragonrock/rapport.min.pdf
2015-09-15 17:32:55 +02:00
2015-07-09 16:48:04 +02:00
clean: FORCE
$(TEXC) -c
clean_all: FORCE
$(RM) -fr build