1.1 --- a/Makefile Mon Feb 13 19:10:00 2012 +0100 1.2 +++ b/Makefile Tue Aug 28 16:44:32 2012 +0200 1.3 @@ -37,6 +37,8 @@ 1.4 CONF = gcc 1.5 #endif 1.6 1.7 +VERSION_PREFIX=1.0. 1.8 + 1.9 include ${CONF}.mk 1.10 1.11 .PHONY: setup run-compile teardown 1.12 @@ -54,7 +56,7 @@ 1.13 mkdir -p ${BUILDDIR} 1.14 rm -f ${BUILDDIR}cline.o 1.15 mv cline.h cline.src 1.16 - cat cline.src | sed "s/VERSION.*/VERSION=\"$(shell hg identify -n) ($(shell hg identify -i))\";/g" > cline.h 1.17 + cat cline.src | sed "s/VERSION.*/VERSION=\"${VERSION_PREFIX}$(shell hg identify -n) ($(shell hg identify -i))\";/g" > cline.h 1.18 1.19 teardown: 1.20 rm -f cline.h