[libgnomeui] Enable silent build using AM_SILENT_RULES



commit ff3637bc30a00bae14ef0a7c829c785524acbd54
Author: Christian Persch <chpe gnome org>
Date:   Sun Oct 4 00:22:54 2009 +0200

    Enable silent build using AM_SILENT_RULES

 configure.in                   |    2 ++
 libgnomeui/Makefile.am         |   12 ++++++------
 libgnomeui/pixmaps/Makefile.am |    8 +++-----
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/configure.in b/configure.in
index 05aef3a..e28c094 100644
--- a/configure.in
+++ b/configure.in
@@ -61,6 +61,8 @@ AC_SUBST(LIBGNOMEUI_AGE)
 
 AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2])
 
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
 AM_MAINTAINER_MODE
 
 dnl make aclocal calls respect $ACLOCAL_FLAGS
diff --git a/libgnomeui/Makefile.am b/libgnomeui/Makefile.am
index b1e9c92..57db5e2 100644
--- a/libgnomeui/Makefile.am
+++ b/libgnomeui/Makefile.am
@@ -164,7 +164,7 @@ BUILT_SOURCES = gnometypebuiltins.h gnometypebuiltins.c gnometype_inits.c \
 gnometypebuiltins.h: stamp-gnometypebuiltins.h
 	@true
 stamp-gnometypebuiltins.h: @REBUILD@ $(gnome_headers)
-	(cd $(srcdir) \
+	$(AM_V_GEN) (cd $(srcdir) \
 	&& glib-mkenums \
 			--fhead "#ifndef __GNOMETYPEBUILTINS_H__\n" \
 			--fhead "#define __GNOMETYPEBUILTINS_H__ 1\n\n" \
@@ -181,7 +181,7 @@ stamp-gnometypebuiltins.h: @REBUILD@ $(gnome_headers)
 	&& echo timestamp > $(@F)
 
 gnometypebuiltins.c: @REBUILD@ $(gnome_headers) gnometypebuiltins.h
-	(cd $(srcdir) \
+	$(AM_V_GEN) (cd $(srcdir) \
 	&& glib-mkenums \
 			--fhead "#include \"libgnomeui.h\"\n\n" \
 			--fhead "#include \"gnometypebuiltins.h\"\n\n" \
@@ -199,7 +199,7 @@ gnometypebuiltins.c: @REBUILD@ $(gnome_headers) gnometypebuiltins.h
 	&& rm -f xgen-gtc
 
 gnometype_inits.c: @REBUILD@ $(gnome_headers)
-	(cd $(srcdir) \
+	$(AM_V_GEN) (cd $(srcdir) \
 	&& glib-mkenums \
 			--fprod "\n/* enumerations from \"@filename \" */" \
 			--vtail "    (void) @enum_name _get_type ();\n" \
@@ -208,15 +208,15 @@ gnometype_inits.c: @REBUILD@ $(gnome_headers)
 	&& rm -f xgen-gtic
 
 gnome-marshal.h: stamp-gnome-marshal.h
-	@true
+	$(AM_V_GEN) true
 stamp-gnome-marshal.h: @REBUILD@ gnome-marshal.list
-	glib-genmarshal --prefix=_gnome_marshal $(srcdir)/gnome-marshal.list --header >> xgen-gmh \
+	$(AM_V_GEN) glib-genmarshal --prefix=_gnome_marshal $(srcdir)/gnome-marshal.list --header >> xgen-gmh \
 	&& (cmp -s xgen-gmh gnome-marshal.h || cp xgen-gmh gnome-marshal.h) \
 	&& rm -f xgen-gmh xgen-gmh~ \
 	&& echo timestamp > $(@F)
 
 gnome-marshal.c: @REBUILD@ gnome-marshal.list
-	glib-genmarshal --prefix=_gnome_marshal $(srcdir)/gnome-marshal.list --body >> xgen-gmc \
+	$(AM_V_GEN) glib-genmarshal --prefix=_gnome_marshal $(srcdir)/gnome-marshal.list --body >> xgen-gmc \
 	&& cp xgen-gmc gnome-marshal.c \
 	&& rm -f xgen-gmc xgen-gmc~
 
diff --git a/libgnomeui/pixmaps/Makefile.am b/libgnomeui/pixmaps/Makefile.am
index 8e12502..26a444c 100644
--- a/libgnomeui/pixmaps/Makefile.am
+++ b/libgnomeui/pixmaps/Makefile.am
@@ -43,10 +43,8 @@ BUILT_SOURCES = gnome-stock-pixbufs.h
 CLEANFILES = $(BUILT_SOURCES)
 
 gnome-stock-pixbufs.h: @GDK_PIXBUF_CSOURCE@ $(stock_images)
-	-rm -f gnome-stock-pixbufs.h
-	var=`echo "$(stock_images)" | sed -e 's,stock_\([^\.]*\)\.png,stock_\1 $(srcdir)/stock_\1.png,g'` ; \
+	@-rm -f gnome-stock-pixbufs.h
+	$(AM_V_GEN) var=`echo "$(stock_images)" | sed -e 's,stock_\([^\.]*\)\.png,stock_\1 $(srcdir)/stock_\1.png,g'` ; \
 	   @GDK_PIXBUF_CSOURCE@ --raw --build-list $$var > pixbufs-tmp && \
 	   cat $(srcdir)/copyright.txt pixbufs-tmp > gnome-stock-pixbufs.h
-	-rm -f pixbufs-tmp
-
-
+	@-rm -f pixbufs-tmp



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