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

Re: [PATCH] Make the installation targets a little less chatty

From
Junio C Hamano <junkio@cox.net>
Date
Jun 1, 2007, 00:12 UTC
Message-ID
<7v4pls1qjv.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070531222313.GA12204@steel.home>
Alex Riesen <raa.lkml@gmail.com> writes:
Show 8 quoted lines
> by default. V=1 works as usual.
>
> Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
> ---
>
> Now it quite quiet. I tried top show every installed file, but it
> wasn't an improvement at all so I decided to just show what's being
> done.

I agree that the long single line that installs the commands to $(bindir) may be somewhat annoying.

Cleaning up compilation step is one thing; by tidying up the output it makes compiler warnings stand out.

But I do not like playing games like this in general in installation rule. An excerpt from your patch:

> +	@echo installing programs
> +	$(QUIET)$(foreach p,$(BUILT_INS), rm -f ...

This would not even let you see what got installed. At least, less verbose compilation step we have these days lets you see what is being built. I certainly would not object if the output would look like this, though:

	CC builtin-cat-file.o
        ...
        GEN git-add--interactive
        ...
        LINK git-http-push
        ...
        BUILTIN git-add
        ...
	MKDIR -p /usr/local/bin
        INSTALL git-foo
        INSTALL git-bar
	...
        INSTALL templates/description
        INSTALL templates/hooks/post-update
        ...
Previous: Alex RiesenNext: Alex Riesen
Message 2 of 6 in “Make the installation targets a little less chatty”
  1. Make the installation targets a little less chattyAlex Riesen, May 31, 2007
  2. Junio C HamanoJun 1, 2007
  3. Alex RiesenJun 1, 2007
  4. Make the installation targets a little less chattyAlex Riesen, Jun 1, 2007
  5. Junio C HamanoJun 2, 2007
  6. Alex RiesenJun 3, 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.