[gnome-user-share] Use automake 1.11's quiet mode



commit c46ebac46846b3427cd1c498984758aff061f89b
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Sep 8 17:38:00 2009 +0100

    Use automake 1.11's quiet mode

 configure.in    |    5 ++++-
 src/Makefile.am |    4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index 256c596..a0af87a 100644
--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,10 @@ AC_INIT(gnome-user-share, 2.27.0)
 
 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip check-news])
 AM_CONFIG_HEADER(config.h)
-	
+
+# Enable silent build when available (Automake 1.11)
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
 AM_SANITY_CHECK
 AM_MAINTAINER_MODE
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 06a5243..fa673d2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,9 +3,9 @@ MARSHALFILES = marshal.c marshal.h
 BUILT_SOURCES = $(MARSHALFILES)
 
 marshal.c: marshal.h
-	 ( $(GLIB_GENMARSHAL) --prefix=marshal $(srcdir)/marshal.list --header --body > marshal.c )
+	 $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=marshal $(srcdir)/marshal.list --header --body > marshal.c )
 marshal.h: marshal.list
-	( $(GLIB_GENMARSHAL) --prefix=marshal $(srcdir)/marshal.list --header > marshal.h )
+	$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=marshal $(srcdir)/marshal.list --header > marshal.h )
 
 
 bin_PROGRAMS= \



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