diff options
author | Robin Gareus <robin@gareus.org> | 2013-03-13 19:12:17 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-03-13 19:13:00 +0100 |
commit | d957bf7a28bf5e762fbabf08640043aa065b57c5 (patch) | |
tree | d01f6cff03f187eb809c142a07c89e6e9f42ab8f | |
parent | b1f88c57d59588a1ce4f5293390cefefda8d61ff (diff) |
print the git version on build
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -83,7 +83,7 @@ def create_stored_revision(): rev = "" if os.path.exists('.git'): rev = fetch_git_revision(); - print("Revision: %s", rev) + print("ardour.git version: " + rev + "\n") elif os.path.exists('libs/ardour/svn_revision.cc'): print("Using packaged svn revision") return @@ -94,7 +94,7 @@ def create_stored_revision(): try: text = '#include "ardour/svn_revision.h"\n' text += 'namespace ARDOUR { const char* svn_revision = \"%s\"; }\n' % rev - print('Writing svn revision info to libs/ardour/svn_revision.cc using ' + rev) + print('Writing revision info to libs/ardour/svn_revision.cc using ' + rev) o = open('libs/ardour/svn_revision.cc', 'w') o.write(text) o.close() |