Commit afb4224186662b585ffa456aadb91c6a1a916733

Tom St Denis 2016-01-31T14:57:39

Re-added ability to make zip files

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/makefile b/makefile
index c167557..ede2c3a 100644
--- a/makefile
+++ b/makefile
@@ -161,7 +161,7 @@ manual:	mandvi
 pretty:
 	perl pretty.build
 
-#zipup the project (take that!)
+#\zipup the project (take that!)
 no_oops: clean
 	cd .. ; cvs commit
 	echo Scanning for scratch/dirty files
@@ -180,6 +180,7 @@ zipup:
 	cd .. ; tar xf libtommath-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH).tar
 	MAKE=${MAKE} ${MAKE} -C ../libtommath-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) clean manual poster docs
 	tar -c ../libtommath-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)/* | xz -9 > ../ltm-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH).tar.xz
+	cd .. ; zip -9r ltm-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH).zip libtommath-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
 
 new_file:
 	bash updatemakes.sh