From cea59b2c4d9900ac37073ed6d80db5f3d9367694 Mon Sep 17 00:00:00 2001 From: LtWorf Date: Tue, 24 Feb 2009 14:32:00 +0000 Subject: [PATCH] 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 --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1784cb3..8a5f6be 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,21 @@ default: 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: - rm *~ || echo ok - rm *pyc || echo ok + rm -rf *~ || echo ok + rm -rf *.pyc *.pyo || echo ok rm -rf Relational.app || echo ok rm -rf relational || echo ok rm relational*.tar.gz || echo ok rm -rf data || echo ok + rm -rf *tar.bz || echo ok rm -rf *.deb || echo ok mac: app mkdir relational || echo Exists