git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Support of "make -s": do not output anything of the build itself

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 6, 2007, 23:29 UTC
Message-ID
<20070306232927.GB25785@spearce.org>
In-Reply-To
<81b0412b0703061514m2f2b3237yd1192dd651a1109e@mail.gmail.com>
Alex Riesen <raa.lkml@gmail.com> wrote:
Show 5 quoted lines
> Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
> ---
> Makefile         |   10 +++++++---
> git-gui/Makefile |    5 -----
> 2 files changed, 7 insertions(+), 8 deletions(-)

Nack. You need to split any git-gui changes into their own patch so that I can apply them to the git-gui repository directly. Junio then merges that into git.git.

> +QUIET_SUBDIR0  = $(MAKE) -C # space to separate -C and subdir
> +QUIET_SUBDIR1  =
> +
> +ifneq ($(findstring $(MAKEFLAGS),s),s)
This is a good idea.
Show 13 quoted lines
>  ifndef V
>  	QUIET_CC       = @echo '   ' CC $@;
>  	QUIET_AR       = @echo '   ' AR $@;
> @@ -615,9 +620,8 @@ ifndef V
>  			 $(MAKE) --no-print-directory -C $$subdir
>  	export V
>  	export QUIET_GEN
> -else
> -	QUIET_SUBDIR0  = $(MAKE) -C
> -	QUIET_SUBDIR1  =
> +	export QUIET_BUILT_IN
> +endif
>  endif
Show 6 quoted lines
> diff --git a/git-gui/Makefile b/git-gui/Makefile
> -ifndef V
> -	QUIET_GEN      = @echo '   ' GEN $@;
> -	QUIET_BUILT_IN = @echo '   ' BUILTIN $@;
> -endif
> -

git-gui can be built on its own, outside of git.git's make system. I need the ifneq(...-s...) thing above also here, around the existing ifndef.

Want to rework the patch as two?  ;-)
-- 
Shawn.
Previous: Alex RiesenNext: Alex Riesen
Message 2 of 5 in “Support of "make -s": do not output anything of the build itself”
  1. Support of "make -s": do not output anything of the build itselfAlex Riesen, Mar 6, 2007
  2. Shawn O. PearceMar 6, 2007
  3. Alex RiesenMar 6, 2007
  4. Alex RiesenMar 6, 2007
  5. Support of "make -s": do not output anything of the build itselfAlex Riesen, Mar 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.