* `./configure --XXdir=` ignored?
@ 2009-02-26 14:48 Tim Visher
2009-02-26 15:00 ` Jeff King
2009-02-26 17:33 ` Matthieu Moy
0 siblings, 2 replies; 6+ messages in thread
From: Tim Visher @ 2009-02-26 14:48 UTC (permalink / raw)
To: git
Hello Everyone,
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?
--
In Christ,
Timmy V.
http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: `./configure --XXdir=` ignored?
2009-02-26 14:48 `./configure --XXdir=` ignored? Tim Visher
@ 2009-02-26 15:00 ` Jeff King
2009-02-26 15:09 ` Tim Visher
2009-02-26 17:33 ` Matthieu Moy
1 sibling, 1 reply; 6+ messages in thread
From: Jeff King @ 2009-02-26 15:00 UTC (permalink / raw)
To: Tim Visher; +Cc: git
On Thu, Feb 26, 2009 at 09:48:29AM -0500, Tim Visher wrote:
> 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@
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: `./configure --XXdir=` ignored?
2009-02-26 15:00 ` Jeff King
@ 2009-02-26 15:09 ` Tim Visher
2009-02-26 15:15 ` Jeff King
0 siblings, 1 reply; 6+ messages in thread
From: Tim Visher @ 2009-02-26 15:09 UTC (permalink / raw)
To: Jeff King; +Cc: git
On Thu, Feb 26, 2009 at 10:00 AM, Jeff King <peff@peff.net> wrote:
> The configure support is notoriously incomplete
Would it be easier for me to just build the documentation and then
install it by hand then? Is that even possible?
--
In Christ,
Timmy V.
http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: `./configure --XXdir=` ignored?
2009-02-26 15:09 ` Tim Visher
@ 2009-02-26 15:15 ` Jeff King
0 siblings, 0 replies; 6+ messages in thread
From: Jeff King @ 2009-02-26 15:15 UTC (permalink / raw)
To: Tim Visher; +Cc: git
On Thu, Feb 26, 2009 at 10:09:57AM -0500, Tim Visher wrote:
> On Thu, Feb 26, 2009 at 10:00 AM, Jeff King <peff@peff.net> wrote:
>
> > The configure support is notoriously incomplete
>
> Would it be easier for me to just build the documentation and then
> install it by hand then? Is that even possible?
No, there's Makefile support:
make htmldir=/path/to/wherever install-html
but the autoconf stuff wasn't hooking into it properly (which is what
the patch I sent should do).
What I meant by "incomplete" is that most people just use the Makefile
directly without autoconf, so we never notice when bugs like this are
hiding. Thus the bugs tend to hang around for a while until somebody
submits a patch (which I was hoping you would do after getting it to
work).
-Peff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: `./configure --XXdir=` ignored?
2009-02-26 14:48 `./configure --XXdir=` ignored? Tim Visher
2009-02-26 15:00 ` Jeff King
@ 2009-02-26 17:33 ` Matthieu Moy
2009-02-26 19:04 ` Tim Visher
1 sibling, 1 reply; 6+ messages in thread
From: Matthieu Moy @ 2009-02-26 17:33 UTC (permalink / raw)
To: Tim Visher; +Cc: git
Tim Visher <tim.visher@gmail.com> writes:
> Hello Everyone,
>
> 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
Did you actually type --XXdir, or is this XX just a way to mean
something else? I don't see --XXdir mentionned anywhere.
I use "./configure --prefix=$HOME/some/dir" and it works fine (make
install-html installs to $prefix/share/doc/).
--
Matthieu
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: `./configure --XXdir=` ignored?
2009-02-26 17:33 ` Matthieu Moy
@ 2009-02-26 19:04 ` Tim Visher
0 siblings, 0 replies; 6+ messages in thread
From: Tim Visher @ 2009-02-26 19:04 UTC (permalink / raw)
To: Matthieu Moy; +Cc: git
On Thu, Feb 26, 2009 at 12:33 PM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
> Tim Visher <tim.visher@gmail.com> writes:
> I attempted to do this through
>>
>> make configure
>> ./configure --XXdir=/full/path/to/dir
>
> Did you actually type --XXdir, or is this XX just a way to mean
> something else? I don't see --XXdir mentionned anywhere.
Yes, it was just a placeholder. I actually typed things like
--htmldir, --mandir, --bindir, etc.
>
> I use "./configure --prefix=$HOME/some/dir" and it works fine (make
> install-html installs to $prefix/share/doc/).
This works for me as well. However, I was hoping for finer tuned
control than that through configure. IE ~/bin ~/man ~/info etc.
--
In Christ,
Timmy V.
http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-02-26 19:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-26 14:48 `./configure --XXdir=` ignored? Tim Visher
2009-02-26 15:00 ` Jeff King
2009-02-26 15:09 ` Tim Visher
2009-02-26 15:15 ` Jeff King
2009-02-26 17:33 ` Matthieu Moy
2009-02-26 19:04 ` Tim Visher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox