From 08b13d90f50ac98c77d5d10b9eb2ad6425a228b3 Mon Sep 17 00:00:00 2001 From: Maarten Gribnau Date: Sun, 3 Nov 2002 22:38:32 +0000 Subject: added a line to add executable attributes to the binaries when copying into the Mac bundles Maarten (mail@maartengribnau.com) --- source/darwin/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/darwin') 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 {} \; -- cgit v1.2.3