summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-01-15 20:46:43 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-01-15 20:56:52 +0100
commit17542c3cd03c70b462eb134b565ed4698a9bff54 (patch)
treecd73bdf5a32684b41b2674267c1a86eb45cb28fe /m4
parent05c02989174d490b842c46cb8f25fb8b601a7c4f (diff)
downloadautomake-17542c3cd03c70b462eb134b565ed4698a9bff54.tar.gz
build: silence automake build system
* configure.ac (AM_SILENT_RULES): Invoke with "yes" as a parameter, to activate silent rules by default. * NEWS: Update. * Makefile.am (sc_perl_syntax): Silence its recipe unconditionally, similarly to what is done for other syntax checks. (release-stats): Be silent by default *but not unconditionally*, thanks to the use of $(AM_V_GEN). (path-check, git-diff): Be silent by default, thanks to the use of $(AM_V_GEN). * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise. * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Likewise. * tests/Makefile.am ($(srcdir)/parallel-tests.am): Likewise. ($(parallel_tests)): Likewise.
Diffstat (limited to 'm4')
-rw-r--r--m4/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/m4/Makefile.am b/m4/Makefile.am
index 143df71f0..4fa1406d7 100644
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
@@ -3,7 +3,7 @@
## Makefile for Automake m4.
# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2006,
-# 2008, 2009, 2011 Free Software Foundation, Inc.
+# 2008, 2009, 2011, 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -73,9 +73,9 @@ EXTRA_DIST = acdir/dirlist amversion.in
# Use `$(top_srcdir)/m4' for the benefit of non-GNU makes: this is
# how amversion.m4 appears in our dependencies.
$(top_srcdir)/m4/amversion.m4: $(srcdir)/amversion.in
- sed -e 's,[@]VERSION[@],$(VERSION),g' \
+ $(AM_V_at)sed \
+ -e 's,[@]VERSION[@],$(VERSION),g' \
-e 's,[@]APIVERSION[@],$(APIVERSION),g' \
-e "s,[@]configure_input[@],Generated from amversion.in; do not edit by hand.,g" \
- $(srcdir)/amversion.in > $@t
- chmod a-w $@t
- mv -f $@t $@
+ $(srcdir)/amversion.in > $@-t
+ @$(AM_V_at)chmod a-w $@-t && mv -f $@-t $@