diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2007-08-15 00:55:59 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2007-08-15 00:55:59 +0400 |
commit | 42b629a69b276270ee03a8250781ac73d2668b03 (patch) | |
tree | 100f007d8dab79cc1549e6df4c11a7f62e5387ad /tools | |
parent | 6ab51ef2d7d3736c69adba4206577de83f846987 (diff) |
add the option of not installing to scons build system
settting WITHOUT_BF_INSTALL='true' will disable
the copying to INSTALL_DIR
you can use that in your user-config.py or commandline
slipping in minor cleaning for Os X builds
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Blender.py | 2 | ||||
-rwxr-xr-x | tools/btools.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/Blender.py b/tools/Blender.py index 612ab57737d..601d3c3000d 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -328,7 +328,7 @@ def AppIt(target=None, source=None, env=None): commands.getoutput(cmd) cmd = 'chmod +x %s/%s.app/Contents/MacOS/%s'%(builddir,binary, binary) commands.getoutput(cmd) - cmd = 'find %s/%s.app -name CVS -prune -exec rm -rf {} \;'%(builddir, binary) + cmd = 'find %s/%s.app -name .svn -prune -exec rm -rf {} \;'%(builddir, binary) commands.getoutput(cmd) cmd = 'find %s/%s.app -name .DS_Store -exec rm -rf {} \;'%(builddir, binary) commands.getoutput(cmd) diff --git a/tools/btools.py b/tools/btools.py index 0e1fc81dcff..eb8f844df4d 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -54,7 +54,8 @@ def validate_arguments(args, bc): 'BF_PROFILE_FLAGS', 'LCGDIR', 'WITH_BF_VERSE', 'BF_VERSE_INCLUDE', 'VERSE_BUILD_BINARY', 'VERSE_BUILD_DIR', 'VERSE_REGEN_PROTO', - 'BF_TWEAK_MODE' + 'BF_TWEAK_MODE', + 'WITHOUT_BF_INSTALL' ] arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE', @@ -296,6 +297,7 @@ def read_opts(cfg, args): (BoolOption('BF_BUILDINFO', 'Buildtime in splash if true', 'true')), (BoolOption('BF_TWEAK_MODE', 'Enable tweak mode if true', 'false')), + (BoolOption('WITHOUT_BF_INSTALL', 'dont install if true', 'false')), ) # end of opts.AddOptions() |