[libslab] Use non-verbose build by default



commit f25a838ef225d7bd064c6a3fea2d5907b9febc3d
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 10 12:03:45 2010 +0000

    Use non-verbose build by default

 configure.ac        |    3 +++
 libslab/Makefile.am |    6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ab2b37f..df9f389 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,9 @@ AM_MAINTAINER_MODE
 
 AC_CONFIG_HEADERS([config.h])
 
+# Enable silent build when available (Automake 1.11)
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
 # Before making a release, the LT_VERSION string should be modified.
 # The string is of the form C:R:A.
 # - If interfaces have been changed or added, but binary compatibility has
diff --git a/libslab/Makefile.am b/libslab/Makefile.am
index 771e840..a1a149b 100644
--- a/libslab/Makefile.am
+++ b/libslab/Makefile.am
@@ -67,7 +67,7 @@ endif
 libslab_la_LIBADD = $(LIBSLAB_LIBS)
 
 search-entry-watermark.h: search-entry-watermark.svg
-	echo '#define SEARCH_ENTRY_WATERMARK_SVG "\' > $@; \
+	$(AM_V_GEN) echo '#define SEARCH_ENTRY_WATERMARK_SVG "\' > $@; \
 	sed -e 's/"/\\"/g' -e 's/$$/\\/' -e 's/#000000/#%s/g' $< >> $@; \
 	echo '"' >> $@
 
@@ -75,12 +75,12 @@ search-entry-watermark.h: search-entry-watermark.svg
 MARSHAL_GENERATED = nld-marshal.c nld-marshal.h
 
 nld-marshal.h: nld-marshal.list
-	( @GLIB_GENMARSHAL@ --prefix=nld_marshal $(srcdir)/nld-marshal.list --header > nld-marshal.tmp \
+	$(AM_V_GEN) ( @GLIB_GENMARSHAL@ --prefix=nld_marshal $(srcdir)/nld-marshal.list --header > nld-marshal.tmp \
 	&& mv nld-marshal.tmp nld-marshal.h ) \
 	|| ( rm -f nld-marshal.tmp && exit 1 )
 
 nld-marshal.c: nld-marshal.h
-	( (echo '#include "nld-marshal.h"'; @GLIB_GENMARSHAL@ --prefix=nld_marshal $(srcdir)/nld-marshal.list --body) > nld-marshal.tmp \
+	$(AM_V_GEN) ( (echo '#include "nld-marshal.h"'; @GLIB_GENMARSHAL@ --prefix=nld_marshal $(srcdir)/nld-marshal.list --body) > nld-marshal.tmp \
 	&& mv nld-marshal.tmp nld-marshal.c ) \
 	|| ( rm -f nld-marshal.tmp && exit 1 )
 



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