[gnome-menus] [build] Use silent-rules instead of shave for quiet build



commit 34c1fcb2306df9ca22634a82e75865eda1031769
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Jul 21 18:53:35 2009 +0200

    [build] Use silent-rules instead of shave for quiet build

 configure.in                                |    6 +--
 m4/shave.m4                                 |   77 --------------------------
 shave-libtool.in                            |   69 -----------------------
 shave.in                                    |   79 ---------------------------
 simple-editor/GMenuSimpleEditor/Makefile.am |    4 +-
 simple-editor/Makefile.am                   |    4 +-
 6 files changed, 3 insertions(+), 236 deletions(-)
---
diff --git a/configure.in b/configure.in
index e7f4852..ad026c1 100644
--- a/configure.in
+++ b/configure.in
@@ -3,8 +3,8 @@ AC_INIT([gnome-menus], [2.27.5],
 AC_CONFIG_SRCDIR(libmenu/gmenu-tree.h)
 
 AM_INIT_AUTOMAKE
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 AM_CONFIG_HEADER(config.h)
-AC_CONFIG_MACRO_DIR([m4])
 
 AM_MAINTAINER_MODE
 GNOME_MAINTAINER_MODE_DEFINES
@@ -122,12 +122,8 @@ if test "x$GCC" = "xyes" ; then
 fi
 AC_SUBST(NO_STRICT_ALIASING_CFLAGS)
 
-SHAVE_INIT([.], [enable])
-
 AC_OUTPUT([
 Makefile
-shave
-shave-libtool
 libmenu/Makefile
 libmenu/libgnome-menu.pc
 libmenu/libgnome-menu-uninstalled.pc
diff --git a/simple-editor/GMenuSimpleEditor/Makefile.am b/simple-editor/GMenuSimpleEditor/Makefile.am
index 71d3917..8d7a181 100644
--- a/simple-editor/GMenuSimpleEditor/Makefile.am
+++ b/simple-editor/GMenuSimpleEditor/Makefile.am
@@ -1,5 +1,3 @@
-QUIET_GEN = $(Q:@= echo '  GEN   '$@;)
-
 appdir     = $(pyexecdir)/GMenuSimpleEditor
 app_PYTHON = 			\
 	__init__.py		\
@@ -16,7 +14,7 @@ EXTRA_DIST = config.py.in
 all-local: config.py
 
 config.py: config.py.in
-	$(QUIET_GEN)sed								\
+	$(AM_V_GEN)sed								\
 		-e s!\ DATADIR\@!$(datadir)!				\
 		-e s!\ LOCALEDIR\@!$(prefix)/$(DATADIRNAME)/locale!	\
 		-e s!\ PACKAGE_NAME\@!$(PACKAGE_NAME)!			\
diff --git a/simple-editor/Makefile.am b/simple-editor/Makefile.am
index 6a72b7d..44b060b 100644
--- a/simple-editor/Makefile.am
+++ b/simple-editor/Makefile.am
@@ -1,11 +1,9 @@
 SUBDIRS = GMenuSimpleEditor
 
-QUIET_GEN = $(Q:@= echo '  GEN   '$@;)
-
 bin_SCRIPTS = gmenu-simple-editor
 
 gmenu-simple-editor: gmenu-simple-editor.in
-	$(QUIET_GEN)sed -e s!\ pyexecdir\@! pyexecdir@! -e s!\ PYTHON\@! PYTHON@! < $< > $@ && \
+	$(AM_V_GEN)sed -e s!\ pyexecdir\@! pyexecdir@! -e s!\ PYTHON\@! PYTHON@! < $< > $@ && \
 	chmod a+x $@
 
 uidir   = $(pkgdatadir)/ui



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