Mercurial > pt1.oyama
diff recpt1/Makefile @ 73:c44e16dbb0e2
hg no longer accepts '#' in a template
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 18 Nov 2009 13:12:44 +0900 |
parents | 57bb2c26198d |
children |
line wrap: on
line diff
--- a/recpt1/Makefile Thu Nov 12 20:19:05 2009 +0900 +++ b/recpt1/Makefile Wed Nov 18 13:12:44 2009 +0900 @@ -26,7 +26,7 @@ $(CC) -MM $(OBJS:.o=.c) $(CPPFLAGS) > $@ version.h: - revh=`hg parents --template 'const char *version = "r#rev#:#node|short# (#date|isodate#)";\n' 2>/dev/null`; \ + revh=`hg parents --template 'const char *version = "r{rev}:{node|short} ({date|isodate})";\n' 2>/dev/null`; \ if [ -n "$$revh" ] ; then \ echo "$$revh" > $@; \ else \