From 03cc3e3e00fef8ba5b32b42ee4d4eb3095e4822b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 5 Mar 2016 23:57:33 +0100 Subject: Replaced svn revision with the git hash in the version number. --- configure.ac | 8 ++++---- 1 file 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) -- cgit v1.2.3