From ca82f3034f5b980f640e968195f08de57b6f0e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 24 Apr 2021 13:01:12 +0300 Subject: [PATCH] add release.zip --- .gitignore | 1 + IV/Makefile | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 648a77f..ebbd9f1 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ env/ db/ _minted-*/ *.qgz +release.zip .faux* *.pbf diff --git a/IV/Makefile b/IV/Makefile index 53eb11e..9b13a63 100644 --- a/IV/Makefile +++ b/IV/Makefile @@ -166,6 +166,13 @@ slides-2021-03-29.pdf: slides-2021-03-29.txt dump-debug_wm.sql.xz: docker exec -ti wm-mj pg_dump -Uosm osm -t wm_devug | xz -v > $@ +release.zip: mj-msc.tex version.inc.tex vars.inc.tex \ + $(addsuffix .pdf,$(FIGURES)) $(addsuffix .pdf,$(RIVERS)) \ + $(shell git ls-files .) + -rm $@ + zip $@ $^ + + mj-msc-gray.pdf: mj-msc.pdf gs \ -sOutputFile=$@ \