2009-09-17 10:54:09 +02:00
|
|
|
include version
|
|
|
|
default:
|
2012-10-19 14:49:41 +02:00
|
|
|
set -x
|
2010-03-12 13:14:52 +01:00
|
|
|
rm *.rpm *.tar.gz *.exe.gz 2> /dev/null ;\
|
2012-05-15 18:01:27 +02:00
|
|
|
VERSION=$(VERSION) epm -f portable -a noarch -m noarch irpf90 irpf90.list ;\
|
2009-09-17 10:54:09 +02:00
|
|
|
cd noarch ;\
|
|
|
|
cp ~/.rpmmacros .;\
|
|
|
|
echo "%_topdir $$PWD" > ~/.rpmmacros ;\
|
|
|
|
echo "%buildroot %_topdir/buildroot" >> ~/.rpmmacros ;\
|
|
|
|
cd ..;\
|
2009-09-17 11:40:44 +02:00
|
|
|
VERSION=$(VERSION) epm -a noarch -m noarch -vv -f rpm irpf90 irpf90.list ;\
|
2009-09-17 10:54:09 +02:00
|
|
|
cp noarch/.rpmmacros ~;\
|
|
|
|
mv noarch/*.tar.gz . ;\
|
|
|
|
mv noarch/*.rpm . ;\
|
2009-09-25 14:38:01 +02:00
|
|
|
rm -rf noarch;\
|
|
|
|
NAME=`basename *.rpm .rpm`;\
|
|
|
|
cd ..;\
|
|
|
|
git archive --format=tar --prefix=irpf90/ HEAD | gzip > $$OLDPWD/$$NAME-src.tar.gz;\
|
|
|
|
cd -;\
|
|
|
|
ls $$NAME*;\
|
2010-01-28 16:55:49 +01:00
|
|
|
$(HOME)/Python2exe/python2exe.py irpf90 /home/scemama/irpf90/src ;\
|
|
|
|
mv irpf90.exe irpf90;\
|
|
|
|
gzip irpf90 ;\
|
|
|
|
mv irpf90.gz irpf90-$(VERSION)-noarch.exe.gz ;\
|
|
|
|
|
2009-09-25 14:38:01 +02:00
|
|
|
|
|
|
|
|
2009-09-17 10:54:09 +02:00
|
|
|
|
|
|
|
version: ../src/version.py
|
|
|
|
./make_version.py > version
|