summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-12 22:08:38 (GMT)
committerSteven Knight <knight@baldmt.com>2005-08-12 22:08:38 (GMT)
commit055a212a12d75036cdfbaf2b954e39908a2fbac1 (patch)
tree6117b2ff614672e0d687fd97ede7bddc2ea9ef59 /doc
parent62b1b28dd7e952eb3d9910feb39fde8f02dd5dfa (diff)
downloadSCons-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.115
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
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""