bdilly pushed a commit to branch master.

http://git.enlightenment.org/games/econcentration.git/commit/?id=9662f1ce60e9a8dfdf62245b5956fe0ef32a19db

commit 9662f1ce60e9a8dfdf62245b5956fe0ef32a19db
Author: Bruno Dilly <bdi...@profusion.mobi>
Date:   Fri Oct 14 18:52:59 2016 -0300

    Stop using svnrevision
    
    Instead use git rev-list just like other e repos.
    With that we'll get rid of tons of
    "sh: 1: svnversion: not found"
    messages when building it.
---
 configure.ac | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index c605e8f..29f1f51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,10 +3,9 @@
 m4_define([v_maj], [0])
 m4_define([v_min], [1])
 m4_define([v_mic], [0])
-m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v 
export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
-m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep 
-m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
+m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 
0) | tr -d '\n']))
 ##--   When released, remove the dnl on the below line
-m4_undefine([v_rev])
+dnl m4_undefine([v_rev])
 ##--   When doing snapshots - change soname. remove dnl on below line
 dnl m4_define([relname], [ver-pre-svn-07])
 dnl m4_define([v_rel], [-release relname])

-- 


Reply via email to