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

* integrate svn revision number in source code


git-svn-id: https://svn.forked.de/graph-tool/trunk@85 d4600afd-f417-0410-95de-beed9576f240
parent f7617df4
...@@ -195,6 +195,9 @@ AC_DEFINE_UNQUOTED([AUTHOR], "Tiago de Paula Peixoto <tpeixoto@if.usp.br>", [pro ...@@ -195,6 +195,9 @@ AC_DEFINE_UNQUOTED([AUTHOR], "Tiago de Paula Peixoto <tpeixoto@if.usp.br>", [pro
AC_DEFINE_UNQUOTED([COPYRIGHT], AC_DEFINE_UNQUOTED([COPYRIGHT],
"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 (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]) [copyright info])
AC_DEFINE([SVN_REVISION], "esyscmd(svnversion -n .)", [svn revision number])
dnl fi dnl fi
AC_OUTPUT([ AC_OUTPUT([
Makefile Makefile
......
...@@ -204,7 +204,7 @@ struct LibInfo ...@@ -204,7 +204,7 @@ struct LibInfo
string GetName() const {return PACKAGE_NAME;} string GetName() const {return PACKAGE_NAME;}
string GetAuthor() const {return AUTHOR;} string GetAuthor() const {return AUTHOR;}
string GetCopyright() const {return COPYRIGHT;} string GetCopyright() const {return COPYRIGHT;}
string GetVersion() const {return VERSION;} string GetVersion() const {return VERSION " (r" SVN_REVISION ")";}
}; };
// overloads // 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