automake-commit
[Top][All Lists]
Advanced

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

[automake-commit] branch master updated: config headers: add support for


From: Karl Berry
Subject: [automake-commit] branch master updated: config headers: add support for silent builds
Date: Wed, 03 Nov 2021 21:01:49 -0400

This is an automated email from the git hooks/post-receive script.

karl pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=b78681195ea1ff082ea2a3b17bed1ef166e0400d

The following commit(s) were added to refs/heads/master by this push:
     new b786811  config headers: add support for silent builds
b786811 is described below

commit b78681195ea1ff082ea2a3b17bed1ef166e0400d
Author: Mike Frysinger <vapier@gentoo.org>
AuthorDate: Sun Oct 31 12:52:43 2021 -0400

    config headers: add support for silent builds
    
    * lib/am/remake-hdr.am (%STAMP%): Use $(AM_V_at) and $(AM_V_GEN).
    (%CONFIG_HIN%): Likewise.
---
 lib/am/remake-hdr.am | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/am/remake-hdr.am b/lib/am/remake-hdr.am
index 0d9f4cd..c0016cf 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%



reply via email to

[Prev in Thread] Current Thread [Next in Thread]