summaryrefslogtreecommitdiffstats
path: root/doc/man
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)
commit6cb2c3b91699f1221810f3d1a20bcf3fc6c4e148 (patch)
tree9f6d601ec3b50d626b2612a2230c81050d235d5e /doc/man
parent837e39eaf030cafcf619ddb390cc8a5854784185 (diff)
downloadSCons-6cb2c3b91699f1221810f3d1a20bcf3fc6c4e148.zip
SCons-6cb2c3b91699f1221810f3d1a20bcf3fc6c4e148.tar.gz
SCons-6cb2c3b91699f1221810f3d1a20bcf3fc6c4e148.tar.bz2
Add a --debug= option to print commands before substitution. (Gary Oberbrunner)
Diffstat (limited to 'doc/man')
-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