bug-texinfo
[Top][All Lists]
Advanced

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

Re: Directory names hard-coded in Texinfo Perl scripts


From: Eli Zaretskii
Subject: Re: Directory names hard-coded in Texinfo Perl scripts
Date: Sat, 18 Dec 2021 16:53:48 +0200

> From: Gavin Smith <gavinsmith0123@gmail.com>
> Date: Sat, 18 Dec 2021 14:44:39 +0000
> Cc: Eli Zaretskii <eliz@gnu.org>, bug-texinfo@gnu.org
> 
> On Thu, Dec 16, 2021 at 05:52:45PM -0600, Jacob Bachmeyer wrote:
> > If they can have a location fixed relative to the script, the Perl core
> > module FindBin and pragmatic module lib can help here:
> > 
> > use FindBin;
> > use lib "$FindBin::Bin/../lib";
> 
> texi2any already can find itself for running from a source directory; it
> uses Perl facilities to do this.  See the source code in tp/texi2any.pl.

Is this part supposed to work also when Texinfo is installed in a
directory different from the prefix with which it was configured?



reply via email to

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