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

Re: [PATCH] Include Makefile.localdef in Makefile, if it exists.

From
Junio C Hamano <junkio@cox.net>
Date
Dec 3, 2005, 19:14 UTC
Message-ID
<7vmzjixaak.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<3061.1133591717@lotus.CS.Berkeley.EDU>
Jason Riedy <ejr@EECS.Berkeley.EDU> writes:
> ...  I might
> send along such a patch, along with a note about config.mak in
> INSTALL...

Please don't, unless you are confident your change can satisfy _everybody_.

People with makefile needs that are more "advanced" (that is, something a simple "-include config.mak" cannot easily satisfy) can do any number of things without touching Makefile I ship. Examples include:

 - have own makefile, include Makefile.
 - have onw Make script, run "make -f Makefile" with preset
   "bindir=HERE NO_XXX=NoThanks" to reduce typing.
 - have own makefile, whose build target depends on Make.file
   and runs "make -f Make.file", with a build rule for Make.file
   to munge Makefile using custom perl/sed into it.
Previous: Johannes Schindelin
Message 5 of 5 in “Include Makefile.localdef in Makefile, if it exists.”
  1. Include Makefile.localdef in Makefile, if it exists.Jason Riedy, Dec 2, 2005
  2. Johannes SchindelinDec 3, 2005
  3. Jason RiedyDec 3, 2005
  4. Johannes SchindelinDec 3, 2005
  5. Junio C HamanoDec 3, 2005

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.