[sound-juicer] Use automake silent rules when available
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sound-juicer] Use automake silent rules when available
- Date: Wed, 25 Nov 2009 13:22:04 +0000 (UTC)
commit 6cb3cb3eee5975fd474d2e72498992595724ae3e
Author: Bastien Nocera <hadess hadess net>
Date: Wed Nov 25 13:11:59 2009 +0000
Use automake silent rules when available
configure.in | 3 +++
libjuicer/Makefile.am | 4 ++--
src/Makefile.am | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index c72f753..79b424b 100644
--- a/configure.in
+++ b/configure.in
@@ -7,6 +7,9 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([libjuicer/sj-extractor.c])
AM_CONFIG_HEADER([config.h])
+# Enable silent build when available (Automake 1.11)
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
GNOME_COMMON_INIT
# Do the gettext/i18n stuff
diff --git a/libjuicer/Makefile.am b/libjuicer/Makefile.am
index f0a1163..dfeda43 100644
--- a/libjuicer/Makefile.am
+++ b/libjuicer/Makefile.am
@@ -70,13 +70,13 @@ MARSHALFILES = sj-metadata-marshal.h sj-metadata-marshal.c
GLIB_GENMARSHAL =`pkg-config --variable=glib_genmarshal glib-2.0`
sj-metadata-marshal.h: sj-metadata-marshal.list
- ( $(GLIB_GENMARSHAL) --prefix=metadata_marshal $< \
+ $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=metadata_marshal $< \
--header > marshal-header.tmp \
&& mv marshal-header.tmp $@ ) \
|| ( rm -f marshal-header.tmp && exit 1 )
sj-metadata-marshal.c: sj-metadata-marshal.list sj-metadata-marshal.h
- ( $(GLIB_GENMARSHAL) --prefix=metadata_marshal $< \
+ $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=metadata_marshal $< \
--body > marshal-source.tmp \
&& echo "#include \"sj-metadata-marshal.h\"" > $@ \
&& cat marshal-source.tmp >> $@ \
diff --git a/src/Makefile.am b/src/Makefile.am
index 538c7e3..527f395 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -67,4 +67,4 @@ BACON_DIR=$(srcdir)/../../libbacon/src/
BACON_FILES=bacon-message-connection.h bacon-message-connection.c
regenerate-built-sources:
- BACONFILES="$(BACON_FILES)" BACONDIR="$(BACON_DIR)" $(top_srcdir)/src/update-from-bacon.sh
+ $(AM_V_GEN) BACONFILES="$(BACON_FILES)" BACONDIR="$(BACON_DIR)" $(top_srcdir)/src/update-from-bacon.sh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]