diff options
author | Steven Knight <knight@baldmt.com> | 2003-05-06 05:58:31 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-05-06 05:58:31 (GMT) |
commit | aaf2cbb74e00fdc89da432d18e9fe40bb7de3b9d (patch) | |
tree | c399116a6a33ae9ad69d04dd43c2f272737c2074 /doc/man | |
parent | e591784eb29edfaf2760024f57ee1462f1bae1f3 (diff) | |
download | SCons-aaf2cbb74e00fdc89da432d18e9fe40bb7de3b9d.zip SCons-aaf2cbb74e00fdc89da432d18e9fe40bb7de3b9d.tar.gz SCons-aaf2cbb74e00fdc89da432d18e9fe40bb7de3b9d.tar.bz2 |
Refactor to use real Nodes for command-line attributes and eliminate PathList. (Charles Crain)
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/scons.1 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 14a2e50..e6f72b9 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -4205,7 +4205,7 @@ takes four arguments: .I target - a list of target nodes, .I env -- the construction environment. +- the construction environment, .I for_signature - a Boolean value that specifies whether the generator is being called @@ -4559,19 +4559,23 @@ may be a callable Python function associated with a construction variable in the environment. The function should -take three arguments: +take four arguments: .I target - a list of target nodes, .I source - a list of source nodes, .I env -- the construction environment. +- the construction environment, +.I for_signature +- a Boolean value that specifies +whether the function is being called +for generating a build signature. SCons will insert whatever the called function returns into the expanded string: .ES -def foo(target, source, env): +def foo(target, source, env, for_signature): return "bar" # Will expand $BAR to "bar baz" |