aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-21 23:55:30 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-21 23:55:30 +0000
commit4cd70a717fae97122d9a39afed816545026138a1 (patch)
treedac0dfe1198fadfb2ed7ed928813871bd15eb502 /Makefile.common
parentf91c601b5fee4a2d554d37963a21155a17e4e3b0 (diff)
added MacOS X pkg generation
svn path=/trunk/externals/miXed/; revision=888
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 3aca2e0..52694d3 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -16,6 +16,8 @@ include Makefile.objects
# FIXME
CC = gcc-2.95
+# for MacOS X
+#CC = gcc2
default: define_build all
@@ -315,3 +317,15 @@ Makefile.deps:
chmod 666 Makefile.deps
-include Makefile.deps
+
+# added by Hans-Christoph Steiner <hans@eds.org>
+# to generate MacOS X package
+darwin_altpackage: all
+ test -d ../installroot/Help || mkdir -p ../installroot/Help
+ -cp ../test/cyclone/* ../installroot/Help
+ test -d ../installroot/Resources || mkdir -p ../installroot/Resources
+ cp ../LICENSE.txt ../installroot/Resources/License.ttx
+ cp Welcome.txt ../installroot/Resources/
+ test -d ../installroot/Externals || mkdir -p ../installroot/Externals
+ install -m644 ../bin/*.pd_darwin --group=admin ../installroot/Externals
+ open darwin_altpackage.pmsp