diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2004-05-13 02:11:39 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2004-05-13 02:11:39 +0400 |
commit | 3118986bafb67bd66223d6f0b54b3a9931c5d4ef (patch) | |
tree | f92e0adc70bb7ba156d672aa65e539223c4a806f | |
parent | 32e3efb59f285aa9cf4c0be1f01f92203b223bae (diff) |
completed build for release on mac Os X, no more manual operations
build for debug still to be completed
-rw-r--r-- | SConstruct | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct index 631504904fc..c7cdfeda9f1 100644 --- a/SConstruct +++ b/SConstruct @@ -1057,20 +1057,22 @@ if user_options_dict['BUILD_BLENDER_STATIC'] == 1: if sys.platform == 'darwin': bundle = Environment () blender_app = 'blender' - bundle.Depends ('#/blender.app/Contents/MacOS/' + blender_app, blender_app) + bundle.Depends ('#/blender.app/Contents/Info.plist', blender_app) bundle.Command ('#/blender.app/Contents/Info.plist', '#/source/darwin/blender.app/Contents/Info.plist', "rm -rf blender.app && " + \ "cp -R source/darwin/blender.app . && " + "cat $SOURCE | sed s/VERSION/`cat release/VERSION`/ | \ sed s/DATE/`date +'%Y-%b-%d'`/ \ - > $TARGET") - bundle.Command ('blender.app/Contents/MacOS/' + blender_app, blender_app, - 'strip -u -r $SOURCE && ' + \ - 'cp $SOURCE $TARGET && ' + \ + > $TARGET && " + \ + 'cp -p blender blender.app/Contents/MacOS/blender && ' + \ + 'strip -u -r blender.app/Contents/MacOS/blender && ' + \ 'cp bin/.blender/.bfont.ttf blender.app/Contents/Resources/ && ' + \ 'cp bin/.blender/.Blanguages blender.app/Contents/Resources/ && ' + \ 'cp -R bin/.blender/locale blender.app/Contents/Resources/ && ' + \ + 'cp -R release/bpydata blender.app/Contents/Resources/ && ' + \ + 'cp -R release/scripts blender.app/Contents/Resources/ && ' + \ + 'cp -R release/plugins blender.app/Contents/Resources/ && ' + \ 'chmod +x $TARGET && ' + \ 'find blender.app -name CVS -prune -exec rm -rf {} \; && ' + 'find blender.app -name .DS_Store -exec rm -rf {} \;') |