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

Re: [PATCH] Honor configure's htmldir switch

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 3, 2013, 04:50 UTC
Message-ID
<7vpq0i9f1j.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CA+7ShCqxDKHw0dzC6ASH=qpjG_MP-QZxOyMxQmoTKhXc7ZYHuA@mail.gmail.com>
Christoph Thompson <cjsthompson@gmail.com> writes:
[administrivia: why do you keep dropping git@vger from Cc???]
Show 5 quoted lines
> I was under the impression that configure passed on the value of it's
> --htmldir switch by doing
> some substitution work like the following :
>
> sed 's|@htmldir@|$(htmldir)|g' config.mak.in > config.mak
The information flow goes more like this:
 * configure.ac is used to generate the configure script with
   autoconf;
 * configure script is driven by the user and finds the system
   characteristics and user's wish;
 * what configure found out is used to generate config.mak.autogen,
   using config.mak.in as a template; and then
 * the primary Makefile reads config.mak.autogen if exists and then
   config.mak if exists.

Note that use of ./configure is entirely optional for the build system of Git. You can give parameters to make on its command line (without having config.mak or config.mak.autogen), or you can give these parameters in handwritten config.mak and just say "make".

You can also use ./configure to write some reasonable values in config.mak.autogen, but if ./configure guesses things incorrrectly, you can still override them in your handwritten config.mak exactly because it is read after config.mak.autogen is read by Makefile.

Previous: Junio C Hamano
Message 4 of 4 in “Honor configure's htmldir switch”
  1. Honor configure's htmldir switchChristoph J. Thompson, Feb 2, 2013
  2. Junio C HamanoFeb 3, 2013
  3. Junio C HamanoFeb 3, 2013
  4. Junio C HamanoFeb 3, 2013

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.