diff options
author | lloyd <[email protected]> | 2013-03-06 15:25:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-03-06 15:25:08 +0000 |
commit | fc1cba3bf422f9204a050e04f13f3f780a6d1177 (patch) | |
tree | d51e3ba2d2b93b9ddaa6e8f01c9306effc4cf7ca /configure.py | |
parent | 87a60ea2a67d3f9599d1c682ef3211d23c3c05f5 (diff) |
Report the version type and date in configure output
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.py b/configure.py index 957932ceb..f5a688c4c 100755 --- a/configure.py +++ b/configure.py @@ -1814,8 +1814,15 @@ def main(argv = None): if options.gen_amalgamation: generate_amalgamation(build_config) - logging.info('Botan %s build setup is complete' % ( - build_config.version_string)) + def release_date(datestamp): + if datestamp == 0: + return 'undated' + return 'dated %d' % (datestamp) + + logging.info('Botan %s (%s %s) build setup is complete' % ( + build_config.version_string, + build_config.version_release_type, + release_date(build_config.version_datestamp))) if __name__ == '__main__': try: |