diff options
author | Maarten Gribnau <mail@maartengribnau.com> | 2002-11-04 01:38:32 +0300 |
---|---|---|
committer | Maarten Gribnau <mail@maartengribnau.com> | 2002-11-04 01:38:32 +0300 |
commit | 08b13d90f50ac98c77d5d10b9eb2ad6425a228b3 (patch) | |
tree | f39a0a94316578cb78056d22bfb7188b986bbc5c /source/darwin | |
parent | 8ddd50ef5c0c57f85ed339622856dc26e4626a37 (diff) |
added a line to add executable attributes to the binaries when copying into the
Mac bundles
Maarten (mail@maartengribnau.com)
Diffstat (limited to 'source/darwin')
-rw-r--r-- | source/darwin/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/darwin/Makefile b/source/darwin/Makefile index a53af8cb8e2..3c851f7c789 100644 --- a/source/darwin/Makefile +++ b/source/darwin/Makefile @@ -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 {} \; |