summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-05-02 12:16:24 (GMT)
committerSteven Knight <knight@baldmt.com>2002-05-02 12:16:24 (GMT)
commit14b0749ef9a6232ad1375f750baf00e0fea14e56 (patch)
treed8ee5ca620e66bb2cd782cb22bbc7cca0731a09d /doc
parent35a9fe7b3a3575367b74fbaf84f5336ee4ca5573 (diff)
downloadSCons-14b0749ef9a6232ad1375f750baf00e0fea14e56.zip
SCons-14b0749ef9a6232ad1375f750baf00e0fea14e56.tar.gz
SCons-14b0749ef9a6232ad1375f750baf00e0fea14e56.tar.bz2
Fix for long-line LINKCOM signatures on WIN32; add a for_signature argument to command generators. (Charles Crain)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.112
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index afd4c16..3fcfc80 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -1737,16 +1737,22 @@ can be converted into an Action object
(see the next section).
The generator function
-takes 3 arguments:
+takes four arguments:
.I source
- a list of source nodes,
.I target
- a list of target nodes,
.I env
-- the construction environment. Example:
+- the construction environment.
+.I for_signature
+- a Boolean value that specifies
+whether the generator is being called
+for generating a build signature
+(as opposed to actually executing the command).
+Example:
.ES
-def g(source, target, env):
+def g(source, target, env, for_signature):
return [["gcc", "-c", "-o"] + target + source]
b = Builder(name="Object", generator=g)