[libsoup] Add automake 1.11 silent-rules support



commit e225c3bfa2075a32fcf3621f2cc8a7cbc41678eb
Author: Dan Winship <danw gnome org>
Date:   Sun Aug 9 09:24:19 2009 -0400

    Add automake 1.11 silent-rules support

 configure.in        |    2 ++
 libsoup/Makefile.am |    8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index 20a1c3c..b27b1c3 100644
--- a/configure.in
+++ b/configure.in
@@ -7,6 +7,8 @@ AC_INIT(libsoup, 2.27.5)
 AC_CONFIG_SRCDIR(libsoup-2.4.pc.in)
 AM_INIT_AUTOMAKE([foreign])
 
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
+
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 AC_PROG_MAKE_SET
diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am
index 2d3a6ea..ace934d 100644
--- a/libsoup/Makefile.am
+++ b/libsoup/Makefile.am
@@ -21,23 +21,23 @@ MARSHAL_GENERATED = soup-marshal.c soup-marshal.h
 MKENUMS_GENERATED = soup-enum-types.c soup-enum-types.h
 
 soup-marshal.h: soup-marshal.list
-	( $(GLIB_GENMARSHAL) --prefix=soup_marshal $(srcdir)/soup-marshal.list --header > soup-marshal.tmp \
+	$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=soup_marshal $(srcdir)/soup-marshal.list --header > soup-marshal.tmp \
 	&& mv soup-marshal.tmp soup-marshal.h ) \
 	|| ( rm -f soup-marshal.tmp && exit 1 )
 
 soup-marshal.c: soup-marshal.h
-	( (echo '#include "soup-marshal.h"'; $(GLIB_GENMARSHAL) --prefix=soup_marshal $(srcdir)/soup-marshal.list --body) > soup-marshal.tmp \
+	$(AM_V_GEN) ( (echo '#include "soup-marshal.h"'; $(GLIB_GENMARSHAL) --prefix=soup_marshal $(srcdir)/soup-marshal.list --body) > soup-marshal.tmp \
 	&& mv soup-marshal.tmp soup-marshal.c ) \
 	|| ( rm -f soup-marshal.tmp && exit 1 )
 
 soup-enum-types.h: $(soup_headers)
-	( cd $(srcdir) && $(GLIB_MKENUMS) --template soup-enum-types.h.tmpl \
+	$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template soup-enum-types.h.tmpl \
 		$(soup_headers) ) > soup-enum-types.h.tmp \
 	&& mv soup-enum-types.h.tmp soup-enum-types.h \
 	|| rm -f soup-enum-type.h.tmp
 
 soup-enum-types.c: $(libsoupinclude_HEADERS)
-	( cd $(srcdir) && $(GLIB_MKENUMS) --template soup-enum-types.c.tmpl \
+	$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template soup-enum-types.c.tmpl \
 		$(soup_headers) ) > soup-enum-types.c.tmp \
 	&& mv soup-enum-types.c.tmp soup-enum-types.c \
 	|| rm -f soup-enum-type.c.tmp



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