Gavin Smith <[email protected]> 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 build. 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 separately. -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
