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

Re: [PATCH] documentation: Makefile accounts for SHELL_PATH setting

From
Jeff King <peff@peff.net>
Date
Mar 22, 2009, 06:19 UTC
Message-ID
<20090322061946.GC14765@coredump.intra.peff.net>
In-Reply-To
<1237635198-sup-2111@ntdws12.chass.utoronto.ca>
On Sat, Mar 21, 2009 at 07:38:35AM -0400, Ben Walton wrote:
> I used the ifndef/endif setup becuase that's how the PERL_PATH was set
> and also becuase I think it's slightly more explicit.  I'm ok with ?=

I can't think of any reason why the two would not be equivalent functionally. I would generally use ?= because it is more portable, but we are inextricably bound to gmake at this point, so I don't think that matters. So I don't have a strong preference.

Show 8 quoted lines
> > but maybe it is not worth caring about (since it may complicate building
> > Documentation if you _haven't_ build the actual code).
> 
> In my case, I'm using the configure script and then running make,
> which sees the Documentation/Makefile source in the ../config.mak
> files, so there may be some variance between pure make and make +
> autoconf in this respect.  I hadn't looked at it in that light.
> Should this be reconciled too?

Oh, right, I forgot that it pulls in config.mak. So it is really a non-issue if you are putting SHELL_PATH in your config.mak (or defining it via autoconf). So nevermind my ramblings in that direction.

I think it should be fine to just resend your patch with:
  1. default to $(SHELL)
  2. quote $(SHELL_PATH) as appropriate
-Peff
Previous: Ben Walton
Message 4 of 4 in “documentation: Makefile accounts for SHELL_PATH setting”
  1. documentation: Makefile accounts for SHELL_PATH settingBen Walton, Mar 21, 2009
  2. Jeff KingMar 21, 2009
  3. Ben WaltonMar 21, 2009
  4. Jeff KingMar 22, 2009

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.