changeset 50 | 0bda4161d1b9 |
parent 49 | 4b48e9e06000 |
child 57 | 94e1b2d0bd31 |
--- 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); \