summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-03-23 01:06:05 (GMT)
committerSteven Knight <knight@baldmt.com>2003-03-23 01:06:05 (GMT)
commitbff7f4d25677f6d1543abe553e3b7a63dc910b0c (patch)
tree1b20b5235cbe7acb34bc1527add61df41c6105df
parent904be3fe063b4ad64bccd63909ecc3dbffc549d7 (diff)
downloadSCons-bff7f4d25677f6d1543abe553e3b7a63dc910b0c.zip
SCons-bff7f4d25677f6d1543abe553e3b7a63dc910b0c.tar.gz
SCons-bff7f4d25677f6d1543abe553e3b7a63dc910b0c.tar.bz2
Fix man page doc of the tool function.
-rw-r--r--doc/man/scons.12
-rw-r--r--src/CHANGES.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 711c0c0..6ac9ebc 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -829,7 +829,7 @@ will call the specified elements
to update the new construction environment:
.ES
-def my_tool(env):
+def my_tool(env, platform):
env['XYZZY'] = 'xyzzy'
env = Environment(tools = [my_tool])
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index b858dd8..83d6544 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -49,7 +49,8 @@ RELEASE 0.12 - XXX
- Add support for Tar and Zip files.
- Better documentation of the different ways to export variables to a
- subsidiary SConscript file.
+ subsidiary SConscript file. Fix a documentation bug in a tools
+ example.
- Support fetching arbitrary files from the TARGETS or SOURCES lists
(e.g. ${SOURCES[2]}) when calculating the build signature of a