diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2004-07-29 03:45:52 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2004-07-29 03:45:52 +0400 |
commit | 1f9f2d66eb1f2a5a6474225364272b079c5ae1f7 (patch) | |
tree | 8a609f6ae7c953ba6e42b7a011f553ef5a932f8b /SConstruct | |
parent | e9b0238d0c86258abc7e020a87a798434d220d5e (diff) |
bug correction for bundle creation on OS X.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/SConstruct b/SConstruct index 3dc47558620..3641f80eb8e 100644 --- a/SConstruct +++ b/SConstruct @@ -1268,16 +1268,19 @@ def appit(target, source, env): commands.getoutput(cmd) cmd = 'cp %s %s.app/Contents/MacOS/%s'%(target, target, target) commands.getoutput(cmd) - cmd = 'strip -u -r %s.app/Contents/MacOS/%s'%(target, target) - commands.getoutput(cmd) + if user_options_dict['BUILD_BINARY'] == 'debug': + print "building debug" + else : + cmd = 'strip -u -r %s.app/Contents/MacOS/%s'%(target, target) + commands.getoutput(cmd) cmd = '%s.app/Contents/Resources/'%target shutil.copy('bin/.blender/.bfont.ttf', cmd) shutil.copy('bin/.blender/.Blanguages', cmd) cmd = 'cp -R bin/.blender/locale %s.app/Contents/Resources/'%target commands.getoutput(cmd) - cmd = 'cp -R release/bpydata %s.app/Contents/Resources/'%target + \ + cmd = 'cp -R release/bpydata %s.app/Contents/Resources/'%target commands.getoutput(cmd) - cmd = 'cp -R release/scripts %s.app/Contents/Resources/'%target + \ + cmd = 'cp -R release/scripts %s.app/Contents/Resources/'%target commands.getoutput(cmd) cmd = 'cp -R release/plugins %s.app/Contents/Resources/'%target commands.getoutput(cmd) @@ -1302,7 +1305,7 @@ def appit(target, source, env): cmd = 'cp %s %s.app/Contents/MacOS/%s'%(target, target, target) commands.getoutput(cmd) if user_options_dict['BUILD_BINARY'] == 'debug': - print "building debug" + print "building debug player" else : cmd = 'strip -u -r %s.app/Contents/MacOS/%s'%(target, target) commands.getoutput(cmd) @@ -1311,9 +1314,9 @@ def appit(target, source, env): shutil.copy('bin/.blender/.Blanguages', cmd) cmd = 'cp -R bin/.blender/locale %s.app/Contents/Resources/'%target commands.getoutput(cmd) - cmd = 'cp -R release/bpydata %s.app/Contents/Resources/'%target + \ + cmd = 'cp -R release/bpydata %s.app/Contents/Resources/'%target commands.getoutput(cmd) - cmd = 'cp -R release/scripts %s.app/Contents/Resources/'%target + \ + cmd = 'cp -R release/scripts %s.app/Contents/Resources/'%target commands.getoutput(cmd) cmd = 'cp -R release/plugins %s.app/Contents/Resources/'%target commands.getoutput(cmd) |