Makefile
changeset 141 4b799e3f9a70
parent 137 6c57b5559f84
child 142 19ff3a51324b
--- a/Makefile	Sun Jan 15 20:43:33 2012 +0200
+++ b/Makefile	Sun Jan 15 21:07:36 2012 +0200
@@ -56,7 +56,7 @@
 VERSION:
 	\
 vtagdist=$$(hg log -r . --template '{latesttagdistance}'); \
-vatrelease=$$([ $$vtagdist = 0 ] && echo yes || echo no); \
+vatrelease=$$([ $$vtagdist -le 1 ] && echo yes || echo no); \
 vtag=$$(hg log -r . --template '{latesttag}'); \
 vmajor=$${vtag#t}; \
 vmajor=$${vmajor%.*}; \