~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to tools/scons/bs/bs_default.py

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Default target
 
2
 
 
3
import bs_globals
 
4
 
 
5
def noaction(env, target, source):
 
6
        print "Empty action"
 
7
        
 
8
def BlenderDefault(target):
 
9
        """
 
10
        The default Blender build.
 
11
        """
 
12
        def_env = bs_globals.init_env.Copy()
 
13
        default = def_env.Command('nozip', 'blender$PROGSUFFIX', noaction)
 
14
        if bs_globals.user_options_dict['BUILD_BLENDER_PLAYER'] == 1:
 
15
                def_env.Depends(default, 'blenderplayer$PROGSUFFIX')
 
16
        def_env.Alias(".", default)
 
 
b'\\ No newline at end of file'