diff options
author | Steven Knight <knight@baldmt.com> | 2002-11-04 23:01:27 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-11-04 23:01:27 (GMT) |
commit | 487e0e7e93e26700e80a54f1ae46cf7f780ee34c (patch) | |
tree | b78016fb847bb18a0b19c501edb145c360fbcc6b /doc | |
parent | 8610c9b8c655e5749899be1a9664af2ed6f87a5e (diff) | |
download | SCons-487e0e7e93e26700e80a54f1ae46cf7f780ee34c.zip SCons-487e0e7e93e26700e80a54f1ae46cf7f780ee34c.tar.gz SCons-487e0e7e93e26700e80a54f1ae46cf7f780ee34c.tar.bz2 |
Add a function to choose content signature type. (Anthony Roach)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 6307f34..3d7d034 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -2421,6 +2421,16 @@ SConscript('bar/SConscript') # will not chdir to bar .EE .TP +.RI SetBuildSignatureType( type ) + +This function tells SCons what type of build signature to use: "build" or +"content". "build" means to concatenate the signatures of all source files +of a derived file to make its signature, and "content" means to use +the derived files content signature as its signature. "build" signatures +are usually faster to compute, but "content" signatures can prevent +redundant rebuilds. The default is "build". + +.TP .RI SetCommandHandler( function ) This registers a user @@ -2442,6 +2452,17 @@ is a dictionary of the environment variables in which the command should be executed. .TP +.RI SetContentSignatureType( type ) + +This function tells SCons what type of content signature to use: "MD5" or +"timestamp". "MD5" means to use the MD5 checksum of a files contents as +its signature, and "timestamp" means to use a files timestamp as its +signature. When using "timestamp" signatures, changes in the +command line will not cause files to be rebuilt. "MD5" signatures take +longer to compute, but "timestamp" signatures are less accurate. The +default is "MD5". + +.TP .RI Split( arg ) Returns a list of file names or other objects. If arg is a string, |