diff options
author | Steven Knight <knight@baldmt.com> | 2005-08-12 22:08:38 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-08-12 22:08:38 (GMT) |
commit | 055a212a12d75036cdfbaf2b954e39908a2fbac1 (patch) | |
tree | 6117b2ff614672e0d687fd97ede7bddc2ea9ef59 /doc | |
parent | 62b1b28dd7e952eb3d9910feb39fde8f02dd5dfa (diff) | |
download | SCons-055a212a12d75036cdfbaf2b954e39908a2fbac1.zip SCons-055a212a12d75036cdfbaf2b954e39908a2fbac1.tar.gz SCons-055a212a12d75036cdfbaf2b954e39908a2fbac1.tar.bz2 |
Enhance EnsureSConsVersion() to take revision numbers, too. (Amir Szekely)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 6e690a2..cb58f68 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -3096,17 +3096,24 @@ EnsurePythonVersion(2,2) '\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .TP -.RI EnsureSConsVersion( major ", " minor ) +.RI EnsureSConsVersion( major ", " minor ", [" revision ]) .TP -.RI env.EnsureSConsVersion( major ", " minor ) +.RI env.EnsureSConsVersion( major ", " minor ", [" revision ]) Ensure that the SCons version is at least -.IR major . minor . +.IR major.minor , +or +.IR major.minor.revision . +if +.I revision +is specified. This function will print out an error message and exit SCons with a non-zero exit code if the actual SCons version is not late enough. .ES -EnsureSConsVersion(0,9) +EnsureSConsVersion(0,14) + +EnsureSConsVersion(0,96,90) .EE '\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |