summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-09-12 13:07:20 (GMT)
committerSteven Knight <knight@baldmt.com>2003-09-12 13:07:20 (GMT)
commit1c2ac0f2ca0c14d1181add9cc66d9650fece1481 (patch)
tree6c7464dd52b17d0eaeec3cae1fb0b3e5e3a1897a /doc
parente181e48bb62502b88107536c2e8dbd5886bf17fd (diff)
downloadSCons-1c2ac0f2ca0c14d1181add9cc66d9650fece1481.zip
SCons-1c2ac0f2ca0c14d1181add9cc66d9650fece1481.tar.gz
SCons-1c2ac0f2ca0c14d1181add9cc66d9650fece1481.tar.bz2
Add SourceSignatures() and TargetSignatures() environment methods.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.125
1 files changed, 24 insertions, 1 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 26e5595..696f38b 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -3141,10 +3141,21 @@ env.SourceCode('no_source.c', None)
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.TP
.RI SourceSignatures( type )
+.TP
+.RI env.SourceSignatures( type )
This function tells SCons what type of signature to use for source files:
.B "MD5"
or
.BR "timestamp" .
+If the environment method is used,
+the specified type of source signature
+is only used when deciding whether targets
+built with that environment are up-to-date or must be rebuilt.
+If the global function is used,
+the specified type of source signature becomes the default
+used for all decisions
+about whether targets are up-to-date.
+
"MD5" means the signature of a source file
is the MD5 checksum of its contents.
"timestamp" means the signature of a source file
@@ -3181,11 +3192,22 @@ files = Split("""
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.TP
.RI TargetSignatures( type )
+.TP
+.RI env.TargetSignatures( type )
This function tells SCons what type of signatures to use
for target files:
.B "build"
or
.BR "content" .
+If the environment method is used,
+the specified type of signature is only used
+for targets built with that environment.
+If the global function is used,
+the specified type of signature becomes the default
+used for all target files that
+don't have an explicit target signature type
+specified for their environments.
+
"build" means the signature of a target file
is made by concatenating all of the
signatures of all its source files.
@@ -3193,7 +3215,8 @@ signatures of all its source files.
file is an MD5 checksum of its contents.
"build" signatures are usually faster to compute,
but "content" signatures can prevent unnecessary rebuilds
-when a target file is rebuilt to the exact same contents as last time.
+when a target file is rebuilt to the exact same contents
+as the previous build.
The default is "build".
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""