diff options
author | Stijn Buys <ingar@osirion.org> | 2016-03-05 23:57:33 +0100 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2016-03-05 23:57:33 +0100 |
commit | 03cc3e3e00fef8ba5b32b42ee4d4eb3095e4822b (patch) | |
tree | 6ea346b91ac5b1ece151b7deb15743a9d19cf99e | |
parent | 691136ea46b7ac59108402970cd61e157e3f292c (diff) |
Replaced svn revision with the git hash in the version number.
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index f07db68..1e19fe8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,10 +1,10 @@ dnl ---------------------------------------------------------------- -dnl append SVN revision to the version number +dnl append git revision to the version number -dnl determine the svn revision number -define([svnversion], esyscmd([sh -c "echo -n 'svn'; svnversion|tr -d '\n'"])) +dnl determine the git revision number +define([gitversion], esyscmd([sh -c "echo -n 'git'; git rev-parse HEAD | tr -d '\n'"])) -AC_INIT([osirion], [0.2.6-svnversion]) +AC_INIT([osirion], [0.2.6-gitversion]) AC_CONFIG_HEADERS(src/config.h) |