[yelp-xsl] Use $(AM_V_GEN), don't reimplement it



commit 23890a898523d52b7e293ccee020a3a6e10a5aa2
Author: Colin Walters <walters verbum org>
Date:   Mon Aug 6 14:38:24 2012 -0400

    Use $(AM_V_GEN), don't reimplement it
    
    This allows builders to use --disable-silent-rules and get useful
    logs.

 xslt/common/domains/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/xslt/common/domains/Makefile.am b/xslt/common/domains/Makefile.am
index 526c099..47a2433 100644
--- a/xslt/common/domains/Makefile.am
+++ b/xslt/common/domains/Makefile.am
@@ -6,7 +6,7 @@ $(srcdir)/yelp-xsl.pot: yelp-xsl.xml.in
 all: $(srcdir)/yelp-xsl.pot
 
 yelp-xsl.xml: yelp-xsl.xml.in
-	@echo "  GEN    $@"; \
+	$(AM_V_GEN) ( \
 	if [ ! -d .yelp-xsl ]; then mkdir .yelp-xsl; fi; \
 	echo '<files>' > ".yelp-xsl.files"; \
 	echo '<source href="yelp-xsl.xml.in"/>' >> ".yelp-xsl.files"; \
@@ -20,7 +20,7 @@ yelp-xsl.xml: yelp-xsl.xml.in
 	xsltproc -o "$@" "msgs.xsl" ".yelp-xsl.files" || exit 1; \
 	for lang in $(ALL_LINGUAS); do rm ".yelp-xsl/$$lang.xml"; done; \
 	rmdir .yelp-xsl; \
-	rm .yelp-xsl.files
+	rm .yelp-xsl.files)
 
 xsldir=$(datadir)/yelp-xsl/xslt/common/domains
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]