makefile: update zipup target

This commit is contained in:
Steffen Jaeckel 2015-08-06 19:54:38 +02:00
parent 229f1f890b
commit 725032ccf8

View File

@ -178,18 +178,18 @@ clean:
rm -f tfm.aux tfm.dvi tfm.idx tfm.ilg tfm.ind tfm.lof tfm.log tfm.out tfm.toc test test.exe rm -f tfm.aux tfm.dvi tfm.idx tfm.ilg tfm.ind tfm.lof tfm.log tfm.out tfm.toc test test.exe
cd mtest; MAKE=${MAKE} ${MAKE} clean cd mtest; MAKE=${MAKE} ${MAKE} clean
no_oops: clean .PHONY: pre_gen
cd .. ; cvs commit pre_gen:
echo Scanning for scratch/dirty files perl gen.pl
find . -type f | grep -v CVS | xargs -n 1 bash mess.sh mv mpi.c pre_gen/
zipup: no_oops docs clean zipup:
perl gen.pl ; mv mpi.c pre_gen/ ; \ rm -rf ../tomsfastmath-$(VERSION) && rm -f ../tfm-$(VERSION).zip ../tfm-$(VERSION).tar.bz2 && \
cd .. ; rm -rf tfm* tomsfastmath-$(VERSION) ; mkdir tomsfastmath-$(VERSION) ; \ expsrc.sh -i . -o ../tomsfastmath-$(VERSION) --svntags --no-fetch -p '*.c' -p '*.h' && \
cp -R ./tomsfastmath/* ./tomsfastmath-$(VERSION)/ ; \ MAKE=${MAKE} ${MAKE} -C ../tomsfastmath-$(VERSION) docs && \
tar -c tomsfastmath-$(VERSION)/* | bzip2 -9vvc > tfm-$(VERSION).tar.bz2 ; \ tar -c ../tomsfastmath-$(VERSION)/* | bzip2 -9vvc > ../tfm-$(VERSION).tar.bz2 && \
zip -9r tfm-$(VERSION).zip tomsfastmath-$(VERSION)/* ; \ zip -9 -r ../tfm-$(VERSION).zip ../tomsfastmath-$(VERSION)/* && \
mv -f tfm* ~ ; rm -rf tomsfastmath-$(VERSION) gpg -b -a ../tfm-$(VERSION).tar.bz2 && gpg -b -a ../tfm-$(VERSION).zip
new_file: new_file:
bash updatemakes.sh bash updatemakes.sh