Suppress "is up to date" log?

2022-11-06 Thread Masahiro Yamada
[Motivation] My main interest is the Linux kernel build system (Kbuild). Kbuild strives to suppress annoying logs such as "is up date", "Nothing to be done for", etc. However, there is a case where I cannot suppress the "is up date" log. The following are real use cases when building the Linux

Re: (cross post from bug-make) A complete example of quoting an arbitrary value as a word in a shell script

2022-11-06 Thread Poor Yorick
On 2022-11-06 03:59, Kaz Kylheku wrote: Just Base64-encode the value as, say, the make variable B64VAL and do eval "$$(base64dec $(B64VAL))" in the recipe or in a $(shell ...). If that isn't palatable, invent some other encoding that is more readable. URL encoding: percent hex notation for co

Re: Suppress "is up to date" log?

2022-11-06 Thread Kaz Kylheku
On 2022-11-06 02:28, Masahiro Yamada wrote: > Is there a solution to suppress this 'up to date' log? Hi, Masahiro, Use make -s. That option also suppresses the printing of the recipe commands that are being executed. However, that is not a problem for a makefile which already hides them with the

Re: Suppress "is up to date" log?

2022-11-06 Thread Masahiro Yamada
Hi. On Mon, Nov 7, 2022 at 12:48 AM Kaz Kylheku wrote: > > On 2022-11-06 02:28, Masahiro Yamada wrote: > > Is there a solution to suppress this 'up to date' log? > > Hi, Masahiro, > > Use make -s. That option also suppresses the printing of > the recipe commands that are being executed. However