[totem-pl-parser] Enable silent rules by default



commit 204ecf28d19ff2f2e39319cce084228d4a6b9552
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 21 10:42:25 2010 +0100

    Enable silent rules by default

 configure.in        |    3 +++
 plparse/Makefile.am |    8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index b1b6f35..1b3a1fd 100644
--- a/configure.in
+++ b/configure.in
@@ -15,6 +15,9 @@ AC_GNU_SOURCE
 
 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip check-news subdir-objects])
 
+# Enable silent build when available (Automake 1.11)
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
 dnl Add the languages which your application supports to po/LINGUAS
 GETTEXT_PACKAGE=totem-pl-parser
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define to the Gettext package name])
diff --git a/plparse/Makefile.am b/plparse/Makefile.am
index 3a670b1..908de30 100644
--- a/plparse/Makefile.am
+++ b/plparse/Makefile.am
@@ -7,9 +7,9 @@ MARSHALFILES = totemplparser-marshal.c totemplparser-marshal.h
 BUILT_SOURCES = $(MARSHALFILES)
 
 totemplparser-marshal.c: totemplparser-marshal.h
-	 ( $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal $(srcdir)/totemplparser-marshal.list --header --body --internal > totemplparser-marshal.c )
+	 $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal $(srcdir)/totemplparser-marshal.list --header --body --internal > totemplparser-marshal.c )
 totemplparser-marshal.h: totemplparser-marshal.list
-	( $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal $(srcdir)/totemplparser-marshal.list --header --internal > totemplparser-marshal.h )
+	$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal $(srcdir)/totemplparser-marshal.list --header --internal > totemplparser-marshal.h )
 
 plparserincludedir = $(pkgincludedir)/1/plparser
 plparserinclude_HEADERS =			\
@@ -140,7 +140,7 @@ totem-pl-parser-builtins.h: stamp-totem-pl-parser-builtins.h
 	@true
 
 stamp-totem-pl-parser-builtins.h: totem-pl-parser.h Makefile
-	(cd $(srcdir) && $(GLIB_MKENUMS) \
+	$(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) \
 			--fhead "#ifndef __TOTEM_PL_PARSER_BUILTINS_H__\n#define __TOTEM_PL_PARSER_BUILTINS_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
 			--fprod "/* enumerations from \"@filename \" */\n" \
 			--vhead "GType @enum_name _get_type (void) G_GNUC_CONST;\n#define TOTEM_TYPE_ ENUMSHORT@ (@enum_name _get_type())\n" \
@@ -150,7 +150,7 @@ stamp-totem-pl-parser-builtins.h: totem-pl-parser.h Makefile
 	&& echo timestamp > $(@F)
 
 totem-pl-parser-builtins.c: totem-pl-parser.h Makefile totem-pl-parser-builtins.h
-	(cd $(srcdir) && $(GLIB_MKENUMS) \
+	$(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) \
 			--fhead "#include \"totem-pl-parser.h\"\n#include \"totem-pl-parser-builtins.h\"" \
 			--fprod "\n/* enumerations from \"@filename \" */" \
 			--vhead "GType\n enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G Type@Value values[] = {" \



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