Re: Git 2.18: RUNTIME_PREFIX... is it working?
- From
Paul Smith <paul@mad-scientist.net>
- Date
- Jul 5, 2018, 15:36 UTC
- Message-ID
- <986185d30a0f09b4e2a9832d324a265cd3da7354.camel@mad-scientist.net>
- In-Reply-To
- <nycvar.QRO.7.76.6.1807041312150.75@tvgsbejvaqbjf.bet>
On Wed, 2018-07-04 at 13:22 +0200, Johannes Schindelin wrote:
Show 14 quoted lines
> > 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=etcI 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 ;) ... but time is limited of course :).