summaryrefslogtreecommitdiff
path: root/legacy/efreet
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2010-06-03 07:40:54 +0000
committerIván Briano <sachieru@gmail.com>2010-06-03 07:40:54 +0000
commit6600f0c43f2d40008253dc732bba543b46d3b8df (patch)
tree7308fdcf43996aaf1eb219a0c691c5cd064b26e1 /legacy/efreet
parent5cad6a1c9578dcddc8f3aa61d505d311a2f1b4aa (diff)
Let git-svn users get the right revision number to be used as version.
SVN revision: 49407
Diffstat (limited to 'legacy/efreet')
-rw-r--r--legacy/efreet/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/efreet/configure.ac b/legacy/efreet/configure.ac
index 8ea64ec56a..c14cfa84b7 100644
--- a/legacy/efreet/configure.ac
+++ b/legacy/efreet/configure.ac
@@ -4,6 +4,8 @@ m4_define([v_maj], [0])
4m4_define([v_min], [5]) 4m4_define([v_min], [5])
5m4_define([v_mic], [0]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) | awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g'])) 6m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) | awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g']))
7m4_if(v_rev, [0], [m4_define([v_rev],
8m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
7##-- When released, remove the dnl on the below line 9##-- When released, remove the dnl on the below line
8dnl m4_undefine([v_rev]) 10dnl m4_undefine([v_rev])
9##-- When doing snapshots - change soname. remove dnl on below line 11##-- When doing snapshots - change soname. remove dnl on below line