summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-03-23 05:23:20 (GMT)
committerSteven Knight <knight@baldmt.com>2004-03-23 05:23:20 (GMT)
commitbd136c4b1fe44da061910372d80b79c86a31d4e3 (patch)
tree9f6d601ec3b50d626b2612a2230c81050d235d5e /doc
parentbfbe139e5a5fd96dfa0319768ad9a0088a5e7e78 (diff)
downloadSCons-bd136c4b1fe44da061910372d80b79c86a31d4e3.zip
SCons-bd136c4b1fe44da061910372d80b79c86a31d4e3.tar.gz
SCons-bd136c4b1fe44da061910372d80b79c86a31d4e3.tar.bz2
Add a --debug= option to print commands before substitution. (Gary Oberbrunner)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.119
1 files changed, 14 insertions, 5 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index c12595e..3f8b282 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -494,11 +494,20 @@ This only works when run under Python 2.1 or later.
Re-run SCons under the control of the
.RI pdb
Python debugger.
-The
---debug=pdb
-argument will be stripped from the command-line,
-but all other arguments will be passed in-order
-to the SCons invocation run by the debugger.
+.EE
+
+.TP
+--debug=presub
+Print the raw command line used to build each target
+before the construction environment variables are substituted.
+Also shows which targets are being built by this command.
+Output looks something like this:
+.ES
+$ scons --debug=presub
+Building myprog.o with action(s):
+ $SHCC $SHCCFLAGS $CPPFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES
+...
+.EE
.TP
--debug=time