added make source command to generate .tar.bz file

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@87 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
LtWorf 2009-02-24 14:32:00 +00:00
parent a73fe7ae36
commit cea59b2c4d

View File

@ -1,13 +1,21 @@
default: default:
echo "sorry, no default action" echo "sorry, no default action"
source: clean
rm -rf /tmp/relational/
mkdir /tmp/relational/
cp -R * /tmp/relational/
rm -rf /tmp/relational/samples/.svn/ /tmp/relational/debscript/.svn/ /tmp/relational/mac/.svn/
tar -jcvvf relational_`./relational.py -v`.tar.bz /tmp/relational
clean: clean:
rm *~ || echo ok rm -rf *~ || echo ok
rm *pyc || echo ok rm -rf *.pyc *.pyo || echo ok
rm -rf Relational.app || echo ok rm -rf Relational.app || echo ok
rm -rf relational || echo ok rm -rf relational || echo ok
rm relational*.tar.gz || echo ok rm relational*.tar.gz || echo ok
rm -rf data || echo ok rm -rf data || echo ok
rm -rf *tar.bz || echo ok
rm -rf *.deb || echo ok rm -rf *.deb || echo ok
mac: app mac: app
mkdir relational || echo Exists mkdir relational || echo Exists