diff options
author | Steven Knight <knight@baldmt.com> | 2004-11-20 20:45:07 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-11-20 20:45:07 (GMT) |
commit | 56e544ee9af35d1bf9fb599809dbb9a9f576a641 (patch) | |
tree | 5eab4d2afb17727557b623e8ec7a25b614322912 /src/engine | |
parent | 464833f9a7c83d5b5cc4483c294861a6c9a3fc7e (diff) | |
download | SCons-56e544ee9af35d1bf9fb599809dbb9a9f576a641.zip SCons-56e544ee9af35d1bf9fb599809dbb9a9f576a641.tar.gz SCons-56e544ee9af35d1bf9fb599809dbb9a9f576a641.tar.bz2 |
Add more customizability: , , , .
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Node/FS.py | 6 | ||||
-rw-r--r-- | src/engine/SCons/Tool/BitKeeper.py | 4 | ||||
-rw-r--r-- | src/engine/SCons/Tool/CVS.py | 4 | ||||
-rw-r--r-- | src/engine/SCons/Tool/RCS.py | 4 | ||||
-rw-r--r-- | src/engine/SCons/Tool/SCCS.py | 4 | ||||
-rw-r--r-- | src/engine/SCons/Tool/Subversion.py | 4 |
6 files changed, 19 insertions, 7 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index 541e42a..c5d10bc 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -263,7 +263,8 @@ def get_DefaultSCCSBuilder(): import SCons.Builder # "env" will get filled in by Executor.get_build_env() # calling SCons.Defaults.DefaultEnvironment() when necessary. - DefaultSCCSBuilder = SCons.Builder.Builder(action = '$SCCSCOM', + act = SCons.Action.Action('$SCCSCOM', '$SCCSCOMSTR') + DefaultSCCSBuilder = SCons.Builder.Builder(action = act, env = None, name = "DefaultSCCSBuilder") return DefaultSCCSBuilder @@ -274,7 +275,8 @@ def get_DefaultRCSBuilder(): import SCons.Builder # "env" will get filled in by Executor.get_build_env() # calling SCons.Defaults.DefaultEnvironment() when necessary. - DefaultRCSBuilder = SCons.Builder.Builder(action = '$RCS_COCOM', + act = SCons.Action.Action('$RCS_COCOM', '$RCS_COCOMSTR') + DefaultRCSBuilder = SCons.Builder.Builder(action = act, env = None, name = "DefaultRCSBuilder") return DefaultRCSBuilder diff --git a/src/engine/SCons/Tool/BitKeeper.py b/src/engine/SCons/Tool/BitKeeper.py index c4c1940..2c2bfdd 100644 --- a/src/engine/SCons/Tool/BitKeeper.py +++ b/src/engine/SCons/Tool/BitKeeper.py @@ -36,6 +36,7 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os.path +import SCons.Action import SCons.Builder import SCons.Util @@ -45,7 +46,8 @@ def generate(env): def BitKeeperFactory(env=env): """ """ - return SCons.Builder.Builder(action = "$BITKEEPERCOM", env = env) + act = SCons.Action.Action("$BITKEEPERCOM", "$BITKEEPERCOMSTR") + return SCons.Builder.Builder(action = act, env = env) #setattr(env, 'BitKeeper', BitKeeperFactory) env.BitKeeper = BitKeeperFactory diff --git a/src/engine/SCons/Tool/CVS.py b/src/engine/SCons/Tool/CVS.py index 3822b3b..bc18615 100644 --- a/src/engine/SCons/Tool/CVS.py +++ b/src/engine/SCons/Tool/CVS.py @@ -33,6 +33,7 @@ selection method. __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" +import SCons.Action import SCons.Builder import SCons.Util @@ -48,7 +49,8 @@ def generate(env): # be across a network and must use POSIX slashes as separators. module = module + '/' env['CVSCOM'] = '$CVS $CVSFLAGS co $CVSCOFLAGS -d ${TARGET.dir} $CVSMODULE${TARGET.posix}' - return SCons.Builder.Builder(action = '$CVSCOM', + act = SCons.Action.Action('$CVSCOM', '$CVSCOMSTR') + return SCons.Builder.Builder(action = act, env = env, CVSREPOSITORY = repos, CVSMODULE = module) diff --git a/src/engine/SCons/Tool/RCS.py b/src/engine/SCons/Tool/RCS.py index ce7ba3a..9cc20f5 100644 --- a/src/engine/SCons/Tool/RCS.py +++ b/src/engine/SCons/Tool/RCS.py @@ -33,6 +33,7 @@ selection method. __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" +import SCons.Action import SCons.Builder import SCons.Util @@ -42,7 +43,8 @@ def generate(env): def RCSFactory(env=env): """ """ - return SCons.Builder.Builder(action = '$RCS_COCOM', env = env) + act = SCons.Action.Action('$RCS_COCOM', '$RCS_COCOMSTR') + return SCons.Builder.Builder(action = act, env = env) #setattr(env, 'RCS', RCSFactory) env.RCS = RCSFactory diff --git a/src/engine/SCons/Tool/SCCS.py b/src/engine/SCons/Tool/SCCS.py index d15b49f..a9a595d 100644 --- a/src/engine/SCons/Tool/SCCS.py +++ b/src/engine/SCons/Tool/SCCS.py @@ -33,6 +33,7 @@ selection method. __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" +import SCons.Action import SCons.Builder import SCons.Util @@ -42,7 +43,8 @@ def generate(env): def SCCSFactory(env=env): """ """ - return SCons.Builder.Builder(action = '$SCCSCOM', env = env) + act = SCons.Action.Action('$SCCSCOM', '$SCCSCOMSTR') + return SCons.Builder.Builder(action = act, env = env) #setattr(env, 'SCCS', SCCSFactory) env.SCCS = SCCSFactory diff --git a/src/engine/SCons/Tool/Subversion.py b/src/engine/SCons/Tool/Subversion.py index 23dbd97..4bb37f7 100644 --- a/src/engine/SCons/Tool/Subversion.py +++ b/src/engine/SCons/Tool/Subversion.py @@ -35,6 +35,7 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os.path +import SCons.Action import SCons.Builder import SCons.Util @@ -47,7 +48,8 @@ def generate(env): # fail if repos is not an absolute path name? if module != '': module = os.path.join(module, '') - return SCons.Builder.Builder(action = '$SVNCOM', + act = SCons.Action.Action('$SVNCOM', '$SVNCOMSTR') + return SCons.Builder.Builder(action = act, env = env, SVNREPOSITORY = repos, SVNMODULE = module) |