Re: Git 2.18: RUNTIME_PREFIX... is it working?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 6, 2018, 09:00 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1807061059260.75@tvgsbejvaqbjf.bet>
- In-Reply-To
- <986185d30a0f09b4e2a9832d324a265cd3da7354.camel@mad-scientist.net>
Hi Paul,
On Thu, 5 Jul 2018, Paul Smith wrote:
Show 26 quoted lines
> 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 \ > sysconfdir=etc > > 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 ;-)
Ciao, Johannes