summaryrefslogtreecommitdiff
path: root/lib/am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-31 12:52:43 -0400
committerKarl Berry <karl@freefriends.org>2021-11-02 17:59:21 -0700
commitb78681195ea1ff082ea2a3b17bed1ef166e0400d (patch)
tree53df0fe47f68b4167232b8df8acc8227aee94beb /lib/am
parentf4ac56eeb1aee2f603bd4b4ba2b968b37f340e3d (diff)
downloadautomake-b78681195ea1ff082ea2a3b17bed1ef166e0400d.tar.gz
config headers: add support for silent builds
* lib/am/remake-hdr.am (%STAMP%): Use $(AM_V_at) and $(AM_V_GEN). (%CONFIG_HIN%): Likewise.
Diffstat (limited to 'lib/am')
-rw-r--r--lib/am/remake-hdr.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/am/remake-hdr.am b/lib/am/remake-hdr.am
index 0d9f4cd8b..c0016cffc 100644
--- a/lib/am/remake-hdr.am
+++ b/lib/am/remake-hdr.am
@@ -21,8 +21,8 @@
%STAMP%: %CONFIG_H_DEPS% $(top_builddir)/config.status
- @rm -f %STAMP%
- cd $(top_builddir) && $(SHELL) ./config.status %CONFIG_H_PATH%
+ $(AM_V_at)rm -f %STAMP%
+ $(AM_V_GEN)cd $(top_builddir) && $(SHELL) ./config.status %CONFIG_H_PATH%
## Only the first file of AC_CONFIG_HEADERS is assumed to be generated
@@ -30,7 +30,7 @@
if %?FIRST-HDR%
%CONFIG_HIN%: %MAINTAINER-MODE% $(am__configure_deps) %FILES%
## Cater to parallel BSD make.
- ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ $(AM_V_GEN)($(am__cd) $(top_srcdir) && $(AUTOHEADER))
## Whenever $(AUTOHEADER) has run, we must make sure that
## ./config.status will rebuild config.h. The dependency from %STAMP%
## on %CONFIG_H_DEPS% (which contains config.hin) is not enough to
@@ -61,11 +61,11 @@ if %?FIRST-HDR%
##
## A solution is to erase %STAMP% here so that the %STAMP% rule
## is always triggered after the this one.
- rm -f %STAMP%
+ $(AM_V_at)rm -f %STAMP%
## Autoheader has the bad habit of not changing the timestamp if
## config.hin is unchanged, which breaks Make targets. Since what
## must not changed gratuitously is config.h, which is already handled
## by config.status, there is no reason to make things complex for
## config.hin.
- touch $@
+ $(AM_V_at)touch $@
endif %?FIRST-HDR%