Re: Git 2.18: RUNTIME_PREFIX... is it working?
- Date: Fri, 6 Jul 2018 11:00:00 +0200 (DST)
- From: Johannes Schindelin <Johannes.Schindelin@xxxxxx>
- Subject: Re: Git 2.18: RUNTIME_PREFIX... is it working?
On Thu, 5 Jul 2018, Paul Smith wrote:
> On Wed, 2018-07-04 at 13:22 +0200, Johannes Schindelin wrote:
> > > Basically what happens is that I run configure with
> > > --prefix=/my/install/path --with-gitconfig=etc/gitconfig
> > > --with-gitattributes=etc/gitattributes.
> > >
> > > Then I run make with RUNTIME_PREFIX=YesPlease.
> > Ah. In Git for Windows, we do not use configure. I *think* this
> > points to an incompatibility of the RUNTIME_PREFIX feature with our
> > autoconf support, and this is a grand opportunity for you to step in
> > and help.
> > Essentially, what you will want to do is to implement a new configure
> > option --with-runtime-prefix that then prevents the autoconf script
> > from munging the relative paths in the way it does.
> FYI I was able to get this to work by overriding variables on the make
> command line, like this:
> make ... RUNTIME_PREFIX=YesPlease \
> gitexecdir=libexec/git-core \
> template_dir=share/git-core/templates \
> I agree a new autoconf option would be much simpler to use. I'll think
> about it as I happen to have some some experience in these areas ;) ...
I look forward to reviewing this...
> but time is limited of course :).
Yep. Same here ;-)