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

Re: [PATCH v2] Makefile: set default goals in makefiles

From
Patrick Steinhardt <ps@pks.im>
Date
Feb 17, 2025, 06:37 UTC
Message-ID
<Z7LZJ0tRz3iLPgmx@pks.im>
In-Reply-To
<20250215211904.41883-1-adam@dinwoodie.org>
On Sat, Feb 15, 2025 at 09:19:03PM +0000, Adam Dinwoodie wrote:
Show 11 quoted lines
> Explicitly set the default goal at the very top of various makefiles.
> This is already present in some makefiles, but not all of them.
> 
> In particular, this corrects a regression introduced in a38edab7c8
> (Makefile: generate doc versions via GIT-VERSION-GEN, 2024-12-06).  That
> commit added some config files as build targets for the Documentation
> directory, and put the target configuration in a sensible place.
> Unfortunately, that sensible place was above any other build target
> definitions, meaning the default goal changed to being those
> configuration files only, rather than the HTML and man page
> documentation.

Thanks for the fix! The patch looks good to me, and I've double-checked that preexisting "all:" targets were all converted to "all::".

Patrick
Previous: Adam DinwoodieNext: Junio C Hamano
Message 5 of 6 in “Makefile: correct default docs build target”
  1. Makefile: correct default docs build targetAdam Dinwoodie, Feb 14, 2025
  2. Junio C HamanoFeb 14, 2025
  3. Junio C HamanoFeb 14, 2025
  4. Makefile: set default goals in makefilesAdam Dinwoodie, Feb 15, 2025
  5. Patrick SteinhardtFeb 17, 2025
  6. Junio C HamanoFeb 18, 2025

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.