summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-06-10 11:59:43 (GMT)
committerSteven Knight <knight@baldmt.com>2005-06-10 11:59:43 (GMT)
commit0462645d5027fcf4286775d88d2f6fb52abad3b1 (patch)
treecc587623d5579d9c08eddfeaa1edd9efd697ec3e /doc
parentae6191eaaba20e630d4ea34d701bf14ebedee303 (diff)
downloadSCons-0462645d5027fcf4286775d88d2f6fb52abad3b1.zip
SCons-0462645d5027fcf4286775d88d2f6fb52abad3b1.tar.gz
SCons-0462645d5027fcf4286775d88d2f6fb52abad3b1.tar.bz2
Add a --diskcheck option to control looking on-disk for things.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.142
1 files changed, 41 insertions, 1 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 072f80a..8ac5681 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -578,7 +578,6 @@ This only works when run under Python 2.1 or later.
Re-run SCons under the control of the
.RI pdb
Python debugger.
-.EE
.TP
--debug=presub
@@ -618,6 +617,47 @@ after each top-level target is built. This prints out the complete
dependency tree including implicit dependencies and ignored
dependencies.
+.TP
+.RI --diskcheck= types
+Enable specific checks for
+whether or not there is a file on disk
+where the SCons configuration expects a directory
+(or vice versa),
+and whether or not RCS or SCCS sources exist
+when searching for source and include files.
+The
+.I types
+argument can be set to:
+.BR all ,
+to enable all checks explicitly
+(the default behavior);
+.BR none ,
+to disable all such checks;
+.BR match ,
+to check that files and directories on disk
+match SCons' expected configuration;
+.BR rcs ,
+to check for the existence of an RCS source
+for any missing source or include files;
+.BR sccs ,
+to check for the existence of an SCCS source
+for any missing source or include files.
+Multiple checks can be specified separated by commas;
+for example,
+.B --diskcheck=sccs,rcs
+would still check for SCCS and RCS sources,
+but disable the check for on-disk matches of files and directories.
+Disabling some or all of these checks
+can provide a performance boost for large configurations,
+or when the configuration will check for files and/or directories
+across networked or shared file systems,
+at the slight increased risk of an incorrect build
+or of not handling errors gracefully
+(if include files really should be
+found in SCCS or RCS, for example,
+or if a file really does exist
+where the SCons configuration expects a directory).
+
.\" .TP
.\" -e, --environment-overrides
.\" Variables from the execution environment override construction