diff -r 27c3c1c6b768 -r 51d6e45a7592 Makefile --- a/Makefile Mon Feb 13 19:10:00 2012 +0100 +++ b/Makefile Tue Aug 28 16:44:32 2012 +0200 @@ -37,6 +37,8 @@ CONF = gcc #endif +VERSION_PREFIX=1.0. + include ${CONF}.mk .PHONY: setup run-compile teardown @@ -54,7 +56,7 @@ mkdir -p ${BUILDDIR} rm -f ${BUILDDIR}cline.o mv cline.h cline.src - cat cline.src | sed "s/VERSION.*/VERSION=\"$(shell hg identify -n) ($(shell hg identify -i))\";/g" > cline.h + cat cline.src | sed "s/VERSION.*/VERSION=\"${VERSION_PREFIX}$(shell hg identify -n) ($(shell hg identify -i))\";/g" > cline.h teardown: rm -f cline.h