Re: Directory names hard-coded in Texinfo Perl scripts

2021-12-17 Thread Eli Zaretskii
> Date: Fri, 17 Dec 2021 09:28:42 -0800 > Cc: bug-texinfo@gnu.org > From: Per Bothner > > On 12/17/21 04:57, Eli Zaretskii wrote: > > I mean relative to the directory of the makeinfo script, which is > > installed in ${prefix}/bin (at least by default). > > Right, but the problem is how does the

Re: Directory names hard-coded in Texinfo Perl scripts

2021-12-17 Thread Per Bothner
On 12/17/21 04:57, Eli Zaretskii wrote: I mean relative to the directory of the makeinfo script, which is installed in ${prefix}/bin (at least by default). Right, but the problem is how does the script find out the directory it is running in? It is non-trivial problem, which is why the Perl

Re: Directory names hard-coded in Texinfo Perl scripts

2021-12-17 Thread Eli Zaretskii
> Date: Fri, 17 Dec 2021 04:27:33 -0800 > Cc: bug-texinfo@gnu.org > From: Per Bothner > > On 12/16/21 23:29, Eli Zaretskii wrote: > > Personally, I find the relative-path method much easier, but I will go > > with anything Gavin considers as the preferable solution. > > I'm not sure what you mea

Re: Directory names hard-coded in Texinfo Perl scripts

2021-12-17 Thread Per Bothner
On 12/16/21 23:29, Eli Zaretskii wrote: Personally, I find the relative-path method much easier, but I will go with anything Gavin considers as the preferable solution. I'm not sure what you mean by "the relative-path" method and how it differs from my example code. Reading the file "../share/