diff --git a/Makefile.in b/Makefile.in index 1f49300..90c861c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -67,7 +67,7 @@ build: sh configure; \ fi @if [ -d .hg ] ; then \ - revh=`hg parents --template '#date|shortdate#_#node|short#' 2>/dev/null | sed -e s/-//g -e s/_/-/`;\ + revh=`hg parents --template '{date|shortdate}_{node|short}' 2>/dev/null | sed -e s/-//g -e s/_/-/`;\ [ -z "$$revh" ] || echo '#define SERNO "'$$revh'"' >include/serno.h ; \ fi @[ -f include/serno.h ] || echo '#define SERNO "unknown"' >include/serno.h