[gnome-hello] Use AM_SILENT_RULES



commit bd8bb55cb4ac542dd6a0ddd7f8b2e862325b8d8c
Author: Christian Persch <chpe gnome org>
Date:   Sun Aug 16 22:09:22 2009 +0200

    Use AM_SILENT_RULES

 Makefile.am  |    2 +-
 configure.ac |   11 ++++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 35aaf02..27c8c5e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,7 @@ DISTCLEANFILES =
 
 # Build ChangeLog from GIT  history
 ChangeLog:
-	@if test -d $(top_srcdir)/.git; then \
+	$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
 		GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
 	fi
 
diff --git a/configure.ac b/configure.ac
index 22ac574..ef5cce0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,11 +1,16 @@
 AC_INIT([GNOME Hello],[2.0.3],[mailto:desktop-devel-list gnome org],[gnome-hello])
 
-AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip])
-
 AC_CONFIG_SRCDIR([src])
 AC_CONFIG_HEADERS([config.h])
 
-AM_MAINTAINER_MODE
+AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip])
+
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([no])])
+
+if test -z "$enable_maintainer_mode"; then
+  enable_maintainer_mode=yes
+fi
+AM_MAINTAINER_MODE([enable])
 
 AC_PROG_CC
 AC_ISC_POSIX



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