diff -r 4b48e9e06000 -r 0bda4161d1b9 Makefile --- a/Makefile Thu Sep 11 03:40:44 2014 +0300 +++ b/Makefile Thu Sep 11 03:44:08 2014 +0300 @@ -48,7 +48,7 @@ vtagdist=$$(hg log -r . --template '{latesttagdistance}'); \ vatrelease=$$([ $$vtagdist -le 1 ] && echo yes || echo no); \ vtag=$$(hg log -r . --template '{latesttag}'); \ -vmajor=$${vtag#t}; \ +vmajor=$${vtag#v}; \ vmajor=$${vmajor%%.*}; \ vminor=$${vtag#*.}; \ vrev=$$(hg id -i); \