summaryrefslogtreecommitdiffstats
path: root/doc/man
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)
commit6beaa4ad39345e2e4f00006b3afca5e9e9ee9ebe (patch)
tree6117b2ff614672e0d687fd97ede7bddc2ea9ef59 /doc/man
parent3cd29a71c3bdb7beb08bc69043b837990f648be1 (diff)
downloadSCons-6beaa4ad39345e2e4f00006b3afca5e9e9ee9ebe.zip
SCons-6beaa4ad39345e2e4f00006b3afca5e9e9ee9ebe.tar.gz
SCons-6beaa4ad39345e2e4f00006b3afca5e9e9ee9ebe.tar.bz2
Enhance EnsureSConsVersion() to take revision numbers, too. (Amir Szekely)
Diffstat (limited to 'doc/man')
-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
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""