Commit 4bbb71da authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

* integrate svn revision number in source code

git-svn-id: d4600afd-f417-0410-95de-beed9576f240
parent f7617df4
......@@ -195,6 +195,9 @@ AC_DEFINE_UNQUOTED([AUTHOR], "Tiago de Paula Peixoto <>", [pro
"Copyright (C) 2006 Tiago de Paula Peixoto\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.",
[copyright info])
AC_DEFINE([SVN_REVISION], "esyscmd(svnversion -n .)", [svn revision number])
dnl fi
......@@ -204,7 +204,7 @@ struct LibInfo
string GetName() const {return PACKAGE_NAME;}
string GetAuthor() const {return AUTHOR;}
string GetCopyright() const {return COPYRIGHT;}
string GetVersion() const {return VERSION;}
string GetVersion() const {return VERSION " (r" SVN_REVISION ")";}
// overloads
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment