Commit adf125473fc0567b4ebac51b2267080e3b2a1823

Steffen Jaeckel 2016-02-03T18:07:51

add gpg signatures back to zipup target

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/makefile b/makefile
index 75bc934..91a97b8 100644
--- a/makefile
+++ b/makefile
@@ -175,12 +175,13 @@ pre_gen:
 
 zipup:
 	rm -rf ../libtommath-$(VERSION) \
-		&& rm -f ../ltm-$(VERSION).zip ../ltm-$(VERSION).tar.bz2
+		&& rm -f ../ltm-$(VERSION).zip ../ltm-$(VERSION).zip.asc ../ltm-$(VERSION).tar.xz ../ltm-$(VERSION).tar.xz.asc
 	git archive HEAD --prefix=libtommath-$(VERSION)/ > ../libtommath-$(VERSION).tar
 	cd .. ; tar xf libtommath-$(VERSION).tar
 	MAKE=${MAKE} ${MAKE} -C ../libtommath-$(VERSION) clean manual poster docs
 	tar -c ../libtommath-$(VERSION)/* | xz -9 > ../ltm-$(VERSION).tar.xz
 	cd .. ; zip -9r ltm-$(VERSION).zip libtommath-$(VERSION)
+	gpg -b -a ../ltm-$(VERSION).tar.xz && gpg -b -a ../ltm-$(VERSION).zip
 
 new_file:
 	bash updatemakes.sh