URL:
<https://savannah.gnu.org/bugs/?65600>
Summary: `--silent` option should also silence `$(info ...)`
Group: make
Submitter: goekce
Submitted: Tue 16 Apr 2024 10:14:04 AM UTC
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.4.1
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 16 Apr 2024 10:14:04 AM UTC By: Gökçe <goekce>
Currently `--silent` option only silences the output of the executed commands.
Some users of make use `echo` or `$(info ..)` to summarize what is being done
in a recipe and use `@` to silence the executed commands. However it is not
possible to silence `echo` or `$(info ..)`.
IMHO silencing the output is important in user-facing applications that still
make use of makefiles, e.g., an application that creates a simulation binary
from provided code.
I propose that `--silence` should include `$(info ..)`, but not `$(warning
..)` and `$(error ..)`. What do you think?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65600>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/