summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-05-07 19:19:41 (GMT)
committerSteven Knight <knight@baldmt.com>2005-05-07 19:19:41 (GMT)
commit859846789db273c0013c30dd86c802c59639fce6 (patch)
tree3379689db64e402fa4720e60ce7ecd1f307ad762 /doc
parent87138ba14bbf227ea8c8ab801f03c54486f3aab1 (diff)
downloadSCons-859846789db273c0013c30dd86c802c59639fce6.zip
SCons-859846789db273c0013c30dd86c802c59639fce6.tar.gz
SCons-859846789db273c0013c30dd86c802c59639fce6.tar.bz2
Make SConsignFile() behavior the default.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.133
1 files changed, 28 insertions, 5 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index cb1334b..33c7a19 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -3983,13 +3983,17 @@ SConscript('bar/SConscript') # will chdir to bar
This tells
.B scons
to store all file signatures
-in the specified
+in the specified database
.IR file .
If the
.I file
-is omitted,
-.B .sconsign.dbm
+name is omitted,
+.B .sconsign
is used by default.
+(The actual file name(s) stored on disk
+may have an appropriated suffix appended
+by the
+.IR dbm_module .)
If
.I file
is not an absolute path name,
@@ -3997,6 +4001,20 @@ the file is placed in the same directory as the top-level
.B SConstruct
file.
+If
+.I file
+is
+.BR None ,
+then
+.B scons
+will store file signatures
+in a separate
+.B .sconsign
+file in each directory,
+not in one global database file.
+(This was the default behavior
+prior to SCons 0.96.91 and 0.97.)
+
The optional
.I dbm_module
argument can be used to specify
@@ -4010,8 +4028,9 @@ and which works on all Python versions from 1.5.2 on.
Examples:
.ES
-# Stores signatures in ".sconsign.dbm"
-# in the top-level SConstruct directory.
+# Explicitly stores signatures in ".sconsign.dblite"
+# in the top-level SConstruct directory (the
+# default behavior).
SConsignFile()
# Stores signatures in the file "etc/scons-signatures"
@@ -4020,6 +4039,10 @@ SConsignFile("etc/scons-signatures")
# Stores signatures in the specified absolute file name.
SConsignFile("/home/me/SCons/signatures")
+
+# Stores signatures in a separate .sconsign file
+# in each directory.
+SConsignFile(None)
.EE
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""