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>
This commit is contained in:
Tom St Denis 2015-11-13 14:56:05 -05:00
parent b98147c972
commit 53f1b93595

View File

@ -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