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 2, 2007, 19:58 UTC
Message-ID
<7vy7j2p1r5.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070601230924.GA6360@steel.home>
Alex Riesen <raa.lkml@gmail.com> writes:
> by default. V=1 works as usual.

You obviously did not test that X-<. V=1 does not work at all for me. This is what I get.

    ...
    install git '/home/junio/git-test/bin'
    :SETUP BUILTIN git-format-patch; rm -f '/home/junio/git-test/bin/git-format-patch' && ln '/home/junio/git-test/bin/git' '/home/junio/git-test/bin/git-format-patch'; ...
    ...
    /bin/sh: :SETUP: command not found
    /bin/sh: :SETUP: command not found
    /bin/sh: :SETUP: command not found
    /bin/sh: :SETUP: command not found
    ...
Two problems and a half.
 (0) You do not report the creation of target directory done
     with "install -d", so without $V there is no way to tell if
     things are installed in the expected location.
 (1) Obviously : and whatever action message needs to be
     separated so that it becomes a no-op command ':' followed
     by parameters;
 (2) Even with that ":SETUP: command not found" fixed, it now
     makes the command line twice as long as before for $V case,
     which makes it harder to diagnose a problem when Makefile
     goes wrong.

I think the way QUIET_CC and friends are done is quite sensible and does not have this problem, especially (3). With V=1 it just becomes transparent, and that is what we would want.

Previous: Alex RiesenNext: Alex Riesen
Message 5 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.