aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-07-11 17:15:57 +0000
committerlloyd <[email protected]>2011-07-11 17:15:57 +0000
commitd23c2d60707b10ec5bbb0b981d10dee4570b1ed4 (patch)
tree65f2f7e44c307b9b81ffc5647b35490b1a33463d
parent32d8de4cf7b8abebc6b1eed9ff2ebcc7d4f41ebb (diff)
Allow overriding the VC revision in botan_version.py (for releases)
-rw-r--r--botan_version.py1
-rwxr-xr-xconfigure.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/botan_version.py b/botan_version.py
index 6ea49f50d..d59ea6c46 100644
--- a/botan_version.py
+++ b/botan_version.py
@@ -3,6 +3,7 @@ release_major = 1
release_minor = 10
release_patch = 1
+release_vc_rev = None
release_so_abi_rev = 0
release_datestamp = 0
diff --git a/configure.py b/configure.py
index 134e6c513..628a9ecc7 100755
--- a/configure.py
+++ b/configure.py
@@ -65,7 +65,7 @@ class BuildConfigurationInformation(object):
version_datestamp = botan_version.release_datestamp
- version_vc_rev = get_vc_revision()
+ version_vc_rev = botan_version.release_vc_rev or get_vc_revision()
version_string = '%d.%d.%d' % (version_major, version_minor, version_patch)
"""