Updated zipup to support git and simplified it somewhat. I removed gpg use right now since I don't have a gpg key anyways ... Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
diff --git a/makefile b/makefile
index aec9982..3981c0c 100644
--- a/makefile
+++ b/makefile
@@ -197,13 +197,11 @@ pre_gen:
rm mpi.c
zipup:
- rm -rf ../libtommath-$(VERSION) && rm -f ../ltm-$(VERSION).zip ../ltm-$(VERSION).tar.bz2 && \
- expsrc.sh -i . -o ../libtommath-$(VERSION) --svntags --no-fetch -p '*.c' -p '*.h' && \
- MAKE=${MAKE} ${MAKE} -C ../libtommath-$(VERSION) clean manual poster docs && \
- tar -c ../libtommath-$(VERSION)/* | xz -cz > ../ltm-$(VERSION).tar.xz && \
- find ../libtommath-$(VERSION)/ -type f -exec unix2dos -q {} \; && \
- zip -9 -r ../ltm-$(VERSION).zip ../libtommath-$(VERSION)/* && \
- gpg -b -a ../ltm-$(VERSION).tar.xz && gpg -b -a ../ltm-$(VERSION).zip
+ rm -rf ../libtommath-$(VERSION) && rm -f ../ltm-$(VERSION).zip ../ltm-$(VERSION).tar.bz2
+ 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
new_file:
bash updatemakes.sh