Makefile
changeset 50 0bda4161d1b9
parent 49 4b48e9e06000
child 57 94e1b2d0bd31
equal deleted inserted replaced
49:4b48e9e06000 50:0bda4161d1b9
    46 VERSION:
    46 VERSION:
    47 	\
    47 	\
    48 vtagdist=$$(hg log -r . --template '{latesttagdistance}'); \
    48 vtagdist=$$(hg log -r . --template '{latesttagdistance}'); \
    49 vatrelease=$$([ $$vtagdist -le 1 ] && echo yes || echo no); \
    49 vatrelease=$$([ $$vtagdist -le 1 ] && echo yes || echo no); \
    50 vtag=$$(hg log -r . --template '{latesttag}'); \
    50 vtag=$$(hg log -r . --template '{latesttag}'); \
    51 vmajor=$${vtag#t}; \
    51 vmajor=$${vtag#v}; \
    52 vmajor=$${vmajor%%.*}; \
    52 vmajor=$${vmajor%%.*}; \
    53 vminor=$${vtag#*.}; \
    53 vminor=$${vtag#*.}; \
    54 vrev=$$(hg id -i); \
    54 vrev=$$(hg id -i); \
    55 visclean=$$(case $$vrev in *+) echo no;; *) echo yes;; esac); \
    55 visclean=$$(case $$vrev in *+) echo no;; *) echo yes;; esac); \
    56 vrev=$${vrev%+}; \
    56 vrev=$${vrev%+}; \