Saturday, November 02, 2024

Re: bsd.port.mk: quiet fetch

On Sun, Oct 20, 2024 at 10:58:16AM +0000, Klemens Nanni wrote:
> One fix would be to teach make(1) how to shut up on such messages.
> GNU make(1) can do that already:
>
> -s, --silent, --quiet
> Silent operation; do not print the commands as they are executed.
>
> $ gmake foo
> gmake: 'foo' is up to date.
> $ gmake foo -s ; echo $?
> 0

We do something else with -s.

(BTW, options after parameters are disgusting)

If we can figure out a decent option name, silencing that message is trivial.

I'm loathe to lose useful messages by default, so filtering ftp is bleh.

No comments:

Post a Comment