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

Re: [PATCH] Makefile: quiet shell commands when "make --silent"

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 10, 2012, 00:35 UTC
Message-ID
<7voblepvdv.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120909230921.GA23806@padd.com>
Pete Wyckoff <pw@padd.com> writes:
> Option "--silent", "--quiet" or "-s" to make prevents
> echoing of commands as they are executed.  However, there
> are some explicit "echo" commands in the Makefile and in
> the two GIT-VERSION-GEN scripts that always echo.
"make -s clean"?

I am not very enthused, especially if the primary motivation is about "check-docs". Such a script must be prepared to filter out cruft from the output of $(MAKE) and to pick out the bits that interests it and that has been the way of life with $(MAKE) way before Git started as a project ;-).

In order to make it more robust, targets like "print-man1" can (and should) arrange their output in such a way that interesting parts are easily findable.

Previous: Pete WyckoffNext: Pete Wyckoff
Message 2 of 3 in “Makefile: quiet shell commands when "make --silent"”
  1. Makefile: quiet shell commands when "make --silent"Pete Wyckoff, Sep 9, 2012
  2. Junio C HamanoSep 10, 2012
  3. Pete WyckoffSep 10, 2012

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.