[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: running from development and dirname $0
From: |
Patrice Dumas |
Subject: |
Re: running from development and dirname $0 |
Date: |
Sun, 26 Feb 2012 15:48:02 +0100 |
User-agent: |
Mutt/1.4.2.2i |
On Sat, Feb 25, 2012 at 09:28:38AM -0800, Karl Berry wrote:
> Still on running from development ...
>
> Right now, running texi2any.pl from anything but the tp dir fails with:
> Can't locate Texinfo/Convert/Texinfo.pm in @INC ...
> since texi2any.pl says:
> use Texinfo::Convert::Texinfo;
> very early.
That's not only because it calls use Texinfo::Convert::Texinfo, but because
the path to tp is not set. Everytime texi2any.pl is called there is
a -I somewhere/tp.
> I didn't immediately see what was being used from that .pm. Can it be
> moved down and changed to require, like all the others?
It is there because it doesn't depend on Locale::Messages/Text::Unidecode...
Moving it with the others and as a require shouldn't change anything, however.
It could be possible, however, to put $libsrcdir in @INC, and then require
Texinfo::Convert::Texinfo. Do you want that?
--
Pat