added a line to add executable attributes to the binaries when copying into the
authorMaarten Gribnau <mail@maartengribnau.com>
Sun, 3 Nov 2002 22:38:32 +0000 (22:38 +0000)
committerMaarten Gribnau <mail@maartengribnau.com>
Sun, 3 Nov 2002 22:38:32 +0000 (22:38 +0000)
Mac bundles
Maarten (mail@maartengribnau.com)

source/darwin/Makefile

index a53af8cb8e22ead9caec3810a5f7426cc95a5514..3c851f7c78932443df7b8a480fc5be0c587222a9 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile,v 1.1.1.1 2002/10/12 11:37:43 hans Exp $
+# $Id: Makefile,v 1.2 2002/10/13 15:57:12 hans Exp $
 #
 # ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
 #
@@ -42,6 +42,8 @@ all::
        @#cat $(APPLICATION).app/Contents/Info.plist | sed s/VERSION/`cat ../../VERSION`/ | sed s/DATE/`date +'%Y-%b-%d'`/ > $(DIR)/$(APPLICATION).app/Contents/Info.plist
        @echo "---> copying binary"
        @cp $(DIR)/$(APPLICATION) $(DIR)/$(APPLICATION).app/Contents/MacOS/
+       @echo "---> adding excutable attributes"
+       @chmod +x $(DIR)/$(APPLICATION).app/Contents/MacOS/$(APPLICATION)
        @echo "---> removing CVS directories and Mac hidden files from distribution"
        @find $(DIR)/$(APPLICATION).app -name CVS -prune -exec rm -rf {} \;
        @find $(DIR)/$(APPLICATION).app -name .DS_Store -exec rm -f {} \;