[nautilus-sendto] Use automake 1.11's silent rules if available



commit 6e4cfe7d8196ccdb27f413c4a42abe7cd7c58794
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 11 18:04:57 2009 +0100

    Use automake 1.11's silent rules if available

 configure.in                      |    3 +++
 src/plugins/bluetooth/Makefile.am |    4 ++--
 src/plugins/evolution/Makefile.am |    4 ++--
 3 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index 2c5caa0..1bc7e4b 100644
--- a/configure.in
+++ b/configure.in
@@ -5,6 +5,9 @@ AM_CONFIG_HEADER(config.h)
 
 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip check-news])
 
+# Enable silent build when available (Automake 1.11)
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
 AM_MAINTAINER_MODE
 
 AM_DISABLE_STATIC
diff --git a/src/plugins/bluetooth/Makefile.am b/src/plugins/bluetooth/Makefile.am
index dd79c44..e11e9fc 100644
--- a/src/plugins/bluetooth/Makefile.am
+++ b/src/plugins/bluetooth/Makefile.am
@@ -15,10 +15,10 @@ INCLUDES =                                      \
 plugin_LTLIBRARIES = libnstbluetooth.la
 
 bluetooth-marshal.h: bluetooth-marshal.list
-	$(GLIB_GENMARSHAL) --prefix=nst_bluetooth_marshal $< --header > $@
+	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=nst_bluetooth_marshal $< --header > $@
 
 bluetooth-marshal.c: bluetooth-marshal.list
-	$(GLIB_GENMARSHAL) --prefix=nst_bluetooth_marshal $< --body > $@
+	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=nst_bluetooth_marshal $< --body > $@
 bluetooth.c: bluetooth-marshal.c bluetooth-marshal.h
 
 libnstbluetooth_la_SOURCES = bluetooth.c bluetooth-marshal.h bluetooth-marshal.c
diff --git a/src/plugins/evolution/Makefile.am b/src/plugins/evolution/Makefile.am
index 5ae18d1..ebf4fc9 100644
--- a/src/plugins/evolution/Makefile.am
+++ b/src/plugins/evolution/Makefile.am
@@ -15,9 +15,9 @@ MARSHALFILES = econtactentry-marshal.c econtactentry-marshal.h
 BUILT_SOURCES = $(MARSHALFILES)
 
 econtactentry-marshal.c: econtactentry-marshal.h
-	( $(GLIB_GENMARSHAL) --prefix=econtactentry_marshal $(srcdir)/econtactentry-marshal.list --header --body > econtactentry-marshal.c )
+	$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=econtactentry_marshal $(srcdir)/econtactentry-marshal.list --header --body > econtactentry-marshal.c )
 econtactentry-marshal.h: econtactentry-marshal.list
-	( $(GLIB_GENMARSHAL) --prefix=econtactentry_marshal $(srcdir)/econtactentry-marshal.list --header > econtactentry-marshal.h )
+	$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=econtactentry_marshal $(srcdir)/econtactentry-marshal.list --header > econtactentry-marshal.h )
 
 CLA_FILES = e-contact-entry.h e-contact-entry.c econtactentry-marshal.list
 CLADIR = $(srcdir)/../../../../contact-lookup-applet/src/



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