[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] config headers: add support for silent builds
From: |
Mike Frysinger |
Subject: |
[PATCH] config headers: add support for silent builds |
Date: |
Sun, 31 Oct 2021 12:52:43 -0400 |
* 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 0d9f4cd8b9da..c0016cffc626 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%
--
2.33.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] config headers: add support for silent builds,
Mike Frysinger <=