Use current hg node id instead of tip id as the version tag
authorAlpar Juttner <alpar@cs.elte.hu>
Sat, 22 Dec 2007 07:26:26 +0000
changeset 18596ae3af03a1
parent 17 d0dd44af6fec
child 19 5e9f3d3c115b
Use current hg node id instead of tip id as the version tag
configure.ac
     1.1 --- a/configure.ac	Thu Dec 20 23:26:44 2007 +0000
     1.2 +++ b/configure.ac	Sat Dec 22 07:26:26 2007 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  m4_define([lemon_version_micro], [90])
     1.5  m4_define([lemon_version_nano], [])
     1.6  m4_define([lemon_version_tag], [hg])
     1.7 -m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg tip --template '{node|short}']))])
     1.8 +m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg id]))])
     1.9  m4_define([lemon_version], [lemon_version_major().lemon_version_minor()ifelse(lemon_version_micro(), [], [], [.lemon_version_micro()])ifelse(lemon_version_nano(), [], [], [.lemon_version_nano()])ifelse(lemon_version_tag(), [], [], lemon_version_tag(), [hg], [[_]lemon_version_tag()[_]lemon_hg_revision()], [[_]lemon_version_tag()])])
    1.10  
    1.11  AC_PREREQ([2.59])