[gnome-lirc-properties] Use automake 1.11's silent rules



commit 7cb65458e5f0e00a7a4c06762fcd907a22d1c363
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 10 17:00:37 2009 +0100

    Use automake 1.11's silent rules
    
    2009-09-10  Bastien Nocera  <hadess hadess net>
    
    	* configure.ac:
    	* data/Makefile.am: Use automake 1.11's silent
    	rules if available

 ChangeLog        |    6 ++++++
 configure.ac     |    3 +++
 data/Makefile.am |    2 +-
 3 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5da27d2..2e96391 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-09-10  Bastien Nocera  <hadess hadess net>
 
+	* configure.ac:
+	* data/Makefile.am: Use automake 1.11's silent
+	rules if available
+
+2009-09-10  Bastien Nocera  <hadess hadess net>
+
 	* data/gnome-lirc-properties.desktop.in.in:
 	Show the preferences in the user's preferences,
 	not in the administration sub-menu
diff --git a/configure.ac b/configure.ac
index f166b71..dd43ddf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,9 @@ AC_INIT([gnome-lirc-properties], [0.3.1],
 # tar-ustar asks it to use a sensible tar format that can handle long filenames
 AM_INIT_AUTOMAKE([1.9 tar-ustar])
 
+# Enable silent build when available (Automake 1.11)
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
 dnl check for programs ===
 
 AM_PROG_CC_C_O
diff --git a/data/Makefile.am b/data/Makefile.am
index 39bb19d..8e98529 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -33,7 +33,7 @@ lirc_generate_linux_input_LDADD = $(GLIB_LIBS)
 resourcesdir = $(pkgdatadir)
 
 regenerate-linux-input-layer-conf: lirc-generate-linux-input
-	$(builddir)/lirc-generate-linux-input > $(builddir)/linux-input-layer-lircd.conf
+	$(AM_V_GEN) $(builddir)/lirc-generate-linux-input > $(builddir)/linux-input-layer-lircd.conf
 
 resources_DATA = \
 	gnome-lirc-properties.glade \



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