commit 73dc0fe0eab52c827609e23c30326510c4c27d1b parent 16d3833a14d0bfb7b75ad569c1c8812b28f12e66 Author: Ivan Gankevich <igankevich@ya.ru> Date: Mon, 22 Jul 2019 19:32:43 +0300 zip archive Diffstat:
Makefile | | | 21 | ++++++++++++++++++++- |
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -10,10 +10,29 @@ FLAGS = \ NAME = mmcp-19-gerstner +all: build/$(NAME).pdf +all: build/$(NAME).zip + build/$(NAME).pdf: build build/$(NAME).pdf: main.tex @echo " LATEX $<" @-$(LATEXMK) $(FLAGS) -f $< + @cp build/main.pdf $@ + +build/$(NAME).zip: Makefile +build/$(NAME).zip: main.tex +build/$(NAME).zip: refs.bib +build/$(NAME).zip: webofc.cls +build/$(NAME).zip: woc.bst +build/$(NAME).zip: graphics/01-gerstner.png +build/$(NAME).zip: graphics/02-gerstner.png +build/$(NAME).zip: graphics/03-wind-wave.png +build/$(NAME).zip: graphics/05-wind-wave.png +build/$(NAME).zip: graphics/06-group-wave.png +build/$(NAME).zip: graphics/07-exp-1.png +build/$(NAME).zip: graphics/waves-01.png + @rm -f $@ + zip $@ $^ build: @mkdir -p build @@ -21,5 +40,5 @@ build: clean: @rm -rf build -.PHONY: build clean +.PHONY: build clean all