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=$@ \