[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?
- Re: Directory names hard-coded in Texinfo Perl scripts, (continued)
- Re: Directory names hard-coded in Texinfo Perl scripts, Per Bothner, 2021/12/16
- Re: Directory names hard-coded in Texinfo Perl scripts, Per Bothner, 2021/12/16
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Per Bothner, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Per Bothner, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Patrice Dumas, 2021/12/16
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/18
- Re: Directory names hard-coded in Texinfo Perl scripts,
Eli Zaretskii <=
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/18
- Re: Directory names hard-coded in Texinfo Perl scripts, Per Bothner, 2021/12/18
Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/18
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/18
- Re: Directory names hard-coded in Texinfo Perl scripts, Nikolay Kudryavtsev, 2021/12/19
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/19
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/19
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/19
- Re: Directory names hard-coded in Texinfo Perl scripts, Nikolay Kudryavtsev, 2021/12/20