According to #18891:
I searched all \t@ in all Makefile.am, and replaced the @ sign with $(AM_V_at) when it isn’t used on an echo command.
This is my first Bitcoin PR, please let me know if I missed anything. Thanks a lot!
@ prefix for echo command in Makefiles
#19480
@ is used to avoid printing build steps, most of which are pretty spammy. I’m not a fan of this wholesale replacement.
The makefile guidance in #18891 doesn’t apply to us IMO, as automake has its own $(AM_V_at) that is preferred over @. That keeps make quiet, but make V=1 print steps.
So I think we should replace @ with $(AM_V_at) instead.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
$(AM_V_at) instead, and looks like all checks have been passed.
PTAL at your convenience, thx!
- You can use the predefined variable …
AM_V_atas a prefix to commands that should not output anything in silent mode. When output is to be verbose, [this variable] will expand to the empty string.- You can silence a recipe unconditionally with
@…
Since the silent rules are enabled: https://github.com/bitcoin/bitcoin/blob/65a54d684fcfa5b2cb15b09fd9be9acb56bb5f79/configure.ac#L51-L52
the using of the AM_V_at variable won’t have any effect.
If more output is really needed in the verbose mode @ could be just removed (in justified cases).