changeset 119:039c5384ec7e

Made hgversion.h building message more silent.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 07 Aug 2008 10:38:37 +0900
parents b816cf4363f1
children a72941c75ca6
files waaad/Makefile.am
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/waaad/Makefile.am	Thu Aug 07 10:36:09 2008 +0900
+++ b/waaad/Makefile.am	Thu Aug 07 10:38:37 2008 +0900
@@ -37,9 +37,10 @@
 
 # Rule to make the hgversion.h file
 hgversion.h:
-	echo '/* Mercurial repository information, generated on '`date -R`' */' > hgversion.h
-	if test -d $(srcdir)/../.hg; then echo '#define HG_VERSION "'`cd $(srcdir)/.. && hg log -r tip --template '{rev}:{node|short}'`'"' >> hgversion.h; \
-	else echo '/* No mercurial repository found */' >> hgversion.h; \
+	@echo "Rebuilding hgversion.h..."
+	@echo '/* Mercurial repository information, generated on '`date -R`' */' > hgversion.h
+	@if test -d $(srcdir)/../.hg; then echo '#define HG_VERSION "'`cd $(srcdir)/.. && hg log -r tip --template '{rev}:{node|short}'`'"' >> hgversion.h; \
+	else echo '/* No Mercurial repository found */' >> hgversion.h; \
 	fi
 
 .PHONY: hgversion.h
"Welcome to our mercurial repository"