[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add 'pre-inst-env' wrapper script

From: Mathieu Lirzin
Subject: Re: [PATCH] Add 'pre-inst-env' wrapper script
Date: Sat, 26 Aug 2017 22:04:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Gavin Smith <address@hidden> writes:

> On Sat, Aug 26, 2017 at 06:41:47PM +0200, Mathieu Lirzin wrote:
>> Hello,
>> While hacking on 'texi2any' and testing my changes with manuals located
>> in various places in the filesystem, I found it cumbersome to launch the
>> non installed 'makeinfo' like this:
>>   TEXINFO_DEV_SOURCE=1 top_srcdir=~/src/texinfo/trunk \
>>     ~/src/texinfo/trunk/build/tp/makeinfo --html hello.texi
> You can do
> ~/src/texinfo/trunk/build/tp/texi2any.pl --html hello.texi
> instead. This is hinted at in the README-hacking file, but maybe it 
> isn't as clear as it could be.
> (The paths to the installed locations are inserted into texi2any.pl to 
> create texi2any, to which makeinfo is a link.)
> So I don't think that a wrapper script is necessary here.

I have read this, however this doesn't work when using an out of tree

It is possible to not use a wrapper script and support out of tree
builds, by substituting the location of the local modules in 'texi2any'
at configure/make time and then replace those at install time with the
location of the installed modules.  However the down side of this
approach is that it requires to handle how perl tests find their modules

Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

reply via email to

[Prev in Thread] Current Thread [Next in Thread]