bug-texinfo
[Top][All Lists]
Advanced

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

Re: concerning texinfo 4.13.90


From: Patrice Dumas
Subject: Re: concerning texinfo 4.13.90
Date: Mon, 19 Nov 2012 18:52:32 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Mon, Nov 19, 2012 at 10:17:28AM +0900, Norbert Preining wrote:
> Hi Karl, hi all,
> 
> it seems that building wiht 
>       --with-external-Text-Unidecode=yes  --with-external-libintl-perl=yes
> does not really have an effect, at least the files are still installed
> into share/texinfo/lib/....
> 
> Checking the Makefiles in tp/Makefile(.in) I see that there is no
> evaluation of the USE_EXTERNAL* vars in the target
>       install-data-local:

Indeed, they are still installed, but not used at runtime.  The relevant 
rule in tp/Makefile.am is:

texi2any: texi2any.pl $(top_builddir)/config.status
        $(do_subst) $(srcdir)/texi2any.pl >$@
        chmod a+x $@

with do_subst like

do_subst = sed \
   .....
  -e 's,address@hidden@],$(USE_EXTERNAL_LIBINTL),g' \
  -e 's,address@hidden@],$(USE_EXTERNAL_EASTASIANWIDTH),g' \
  -e 's,address@hidden@],$(USE_EXTERNAL_UNIDECODE),g'

And the code in CVS texi2any.pl is... buggy... but was not buggy in the
pretest, something like

if ('@USE_EXTERNAL_LIBINTL@' ne 'yes') {
   unshift @INC, File::Spec->catdir($pkgdatadir, @directories);
}

So, if you a distro maintainer, and you don't want those installed,
I think best would be passing the configure options and also removing 
the whole $pkgdatadir/lib directory from the staged install.

-- 
Pat



reply via email to

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