makefile for macosx

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@40 014f5005-505e-4b48-8d0a-63407b615a7c
master
LtWorf 2008-09-01 07:52:32 +07:00
parent a28e52b1bc
commit 983b380de4
1 changed files with 23 additions and 0 deletions

@ -0,0 +1,23 @@
default:
echo "sorry, no default action"
clean:
rm *~ || echo ok
rm *pyc || echo ok
rm -rf Relational.app || echo ok
rm -rf relational
mac: app
mkdir relational || echo Exists
mv Relational.app relational
mkdir relational/samples || echo Exists
cp samples/*tlb relational/samples
tar -zcvvf relational.tar.gz relational/
app:
mkdir Relational.app/ || echo Exists
mkdir Relational.app/Contents || echo Exists
mkdir Relational.app/Contents/Resources || echo Exists
cp *py Relational.app/Contents/Resources
cp mac/Info.plist mac/PkgInfo Relational.app/Contents
mkdir Relational.app/Contents/MacOS || echo Exists
cp mac/relational mac/Python Relational.app/Contents/MacOS
cp mac/PythonApplet.icns mac/__argvemulator_relational.py Relational.app/Contents/Resources/