summaryrefslogtreecommitdiffstats
path: root/doc/man
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-04-04 09:07:00 (GMT)
committerSteven Knight <knight@baldmt.com>2002-04-04 09:07:00 (GMT)
commit6603cc0d6643e529da45fef6f85fcc1a0fc02ea4 (patch)
tree4a27de7c3fd70e5af0f257ccc73aab38e343f156 /doc/man
parenta7669bc6a02999a3375c7e732a27ded5f9bb9935 (diff)
downloadSCons-6603cc0d6643e529da45fef6f85fcc1a0fc02ea4.zip
SCons-6603cc0d6643e529da45fef6f85fcc1a0fc02ea4.tar.gz
SCons-6603cc0d6643e529da45fef6f85fcc1a0fc02ea4.tar.bz2
Fix --debug=tree for directory targets (Anthony Roach)
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/scons.115
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 93086f6..77dedc5 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -1665,9 +1665,11 @@ the Node (file)
and return a list of strings (file names)
representing the implicit
dependencies found in the contents.
-The function takes three arguments:
+The function takes three or four arguments:
- def scanner_function(node, env, arg):
+ def scanner_function(node, env, target):
+
+ def scanner_function(node, env, target, arg):
The
.B node
@@ -1687,9 +1689,14 @@ Fetch values from it using the
method.
The
+.B target
+argument is the internal
+SCons node representing the target file.
+
+The
.B arg
argument is the argument supplied
-when the scanner was created.
+when the scanner was created, if any.
.SH EXAMPLES
@@ -1780,7 +1787,7 @@ import re
include_re = re.compile(r'^include\\s+(\\S+)$', re.M)
-def kfile_scan(node, env, arg):
+def kfile_scan(node, env, target, arg):
contents = node.get_contents()
includes = include_re.findall(contents)
return includes