Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2016-03-05 23:57:33 +0100
committerStijn Buys <ingar@osirion.org>2016-03-05 23:57:33 +0100
commit03cc3e3e00fef8ba5b32b42ee4d4eb3095e4822b (patch)
tree6ea346b91ac5b1ece151b7deb15743a9d19cf99e
parent691136ea46b7ac59108402970cd61e157e3f292c (diff)
Replaced svn revision with the git hash in the version number.
-rw-r--r--configure.ac8
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)