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

Re: `./configure --XXdir=` ignored?

From
Jeff King <peff@peff.net>
Date
Feb 26, 2009, 15:00 UTC
Message-ID
<20090226150013.GA9785@coredump.intra.peff.net>
In-Reply-To
<c115fd3c0902260648g3cc9bfeap58823e53a9dc72e6@mail.gmail.com>
On Thu, Feb 26, 2009 at 09:48:29AM -0500, Tim Visher wrote:
Show 14 quoted lines
> I'm working on getting git 1.6.2-rc2 built.  I have a bin, man, info,
> and html directory in my home folder that I'd like to use as the
> defaults for git.  I attempted to do this through
> 
>     make configure
>     ./configure --XXdir=/full/path/to/dir
>     make all man info html
>     make install install-man install-info install-html
> 
> But other than the binaries (and I'm not even totally convinced they
> got in correctly) and the man pages, everything else seems to be
> attempting to go to the typical places in /usr/local.
> 
> What am I doing wrong?

The configure support is notoriously incomplete (AFAIK, very few of the active developers use it regularly). Probably you need something like this (but I didn't test it):

diff --git a/config.mak.in b/config.mak.in
index 7cce0c1..505d5c7 100644
--- a/config.mak.in
+++ b/config.mak.in
@@ -18,6 +18,8 @@ datarootdir = @datarootdir@
 template_dir = @datadir@/git-core/templates
 
 mandir=@mandir@
+htmldir=@htmldir@
+infodir=@infodir@
 
 srcdir = @srcdir@
 VPATH = @srcdir@
Previous: Tim VisherNext: Tim Visher
Message 2 of 6 in “`./configure --XXdir=` ignored?”
  1. Tim VisherFeb 26, 2009
  2. Jeff KingFeb 26, 2009
  3. Tim VisherFeb 26, 2009
  4. Jeff KingFeb 26, 2009
  5. Matthieu MoyFeb 26, 2009
  6. Tim VisherFeb 26, 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.