From 53f1b93595a9418e84d9a7e5212bee37d381ae3b Mon Sep 17 00:00:00 2001 From: Tom St Denis Date: Fri, 13 Nov 2015 14:56:05 -0500 Subject: [PATCH] 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 --- makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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