summaryrefslogtreecommitdiff
path: root/svnrev.m4
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-11-29 23:00:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-11-29 23:00:58 (GMT)
commit99f653189e448b3ff3f2f02ab876231d44fa1ce3 (patch)
tree208dfa0ab0b0f48c87fd0f2d655a7a6019b51d83 /svnrev.m4
parent7a8628a53e55641e31737fe10b6ed7b5498e84a7 (diff)
Computed a version number for Chrysalide using Git.
Diffstat (limited to 'svnrev.m4')
-rw-r--r--svnrev.m49
1 files changed, 0 insertions, 9 deletions
diff --git a/svnrev.m4 b/svnrev.m4
deleted file mode 100644
index 311f1b7..0000000
--- a/svnrev.m4
+++ /dev/null
@@ -1,9 +0,0 @@
-
-define([REPO], [svn://svn.gna.org/svn/chrysalide/trunk])
-
-
-define([svnrepo], esyscmd([bash -c "svnversion2 | tr -cd '[0-9]'" 2> /dev/null]))
-
-define([onlinerepo], esyscmd(LANG=C svn info REPO | awk -v ORS= '/Revision:/ { print $2 }'))
-
-define([svnversion], ifelse(svnrepo, , ifelse(onlinerepo, , 000, onlinerepo), svnrepo))