summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-12-05 16:43:51 (GMT)
committerSteven Knight <knight@baldmt.com>2002-12-05 16:43:51 (GMT)
commitcbf751b2a58f446e7a6a4230c918c4816710b3fa (patch)
tree923ed2c9febed74f13000d7b2f52d206a3ad7c82 /doc
parent1989e2672394227e183691f93c012881ab371179 (diff)
downloadSCons-cbf751b2a58f446e7a6a4230c918c4816710b3fa.zip
SCons-cbf751b2a58f446e7a6a4230c918c4816710b3fa.tar.gz
SCons-cbf751b2a58f446e7a6a4230c918c4816710b3fa.tar.bz2
Prepare the 0.09 release.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.113
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 7136721..3e75d77 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -870,8 +870,8 @@ env.SharedLibrary('word', 'word.cpp', SHLIBSUFFIX='.ocx')
All Builders return a Node or a list of Nodes,
representing the target or targets that will be built.
-A list of Nodes is returned if there is more than one target, and a
-single Node is returned if there is only one target.
+A list of Nodes is returned if there is more than one target,
+and a single Node is returned if there is only one target.
A
.I Node
is an internal SCons object
@@ -898,6 +898,15 @@ by avoiding having to specify
a platform-specific object suffix
when calling the Program() builder.
+The path name for a Node's file may be used
+by passing the Node to the Python-builtin
+.B str()
+function:
+
+.ES
+bar_obj = env.StaticObject('bar.c', CCFLAGS='-DBAR')
+print "The path to bar_obj is:", str(bar_obj)
+
.B scons
provides the following builders: