Makefile
changeset 151 206fb46e793d
parent 150 28cd06b06bb8
child 152 4eb33c11b799
--- a/Makefile	Sat Jan 28 23:16:56 2012 +0200
+++ b/Makefile	Sat Jan 28 23:18:30 2012 +0200
@@ -59,7 +59,7 @@
 vatrelease=$$([ $$vtagdist -le 1 ] && echo yes || echo no); \
 vtag=$$(hg log -r . --template '{latesttag}'); \
 vmajor=$${vtag#t}; \
-vmajor=$${vmajor%.*}; \
+vmajor=$${vmajor%%.*}; \
 vminor=$${vtag#*.}; \
 vrev=$$(hg id -i); \
 visclean=$$(case $$vrev in *+) echo no;; *) echo yes;; esac); \