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

Re: tex-common: Please provide dh_installtex functions for packages that need only mktexlsr



Norbert Preining <preining@logic.at> wrote:

> Hi all!
>
> On Die, 24 Okt 2006, Frank Küster wrote:
>> I think that it might be a good approach not to put too much magic into
>> the script, but leave more to the maintainer: They have a better chance
>> of knowing what is going on.  This would mean to just separate out the
>> mktexlsr stuff, let it always scan TEMXFSYSCONFIG, TEXMFSYSVAR and
>> TEXMFMAIN, plus TEXMFDIST (and TEXMFLOCAL?) upon request (when a basic
>> TeX package is installed or updated), and do the rest only if requested
>> by a commandline option, without additional magic (but of course doing
>> the right thing wrt order and mktexlsr calling).
>
> Ok, so we call always
> 	mktexlsr /usr/share/texmf /var/lib/texmf
> (do we really need to create a ls-R in /etc/texmf? it is not flagged
> with !! in texmf.cnf and in fact I prefer NOT having a ls-R file
> there!).

Sorry, I missed that.  You are right, don't create /etc/texmf/ls-R.

> The maintainers can use 
> 	texmftrees=tree,tree,tree
> as in
> 	dh_installtex --texmftrees=/usr/local/share/texmf,/usr/share/texmf-texlive
> if they want that ls-Rs are created for those trees, too.
>
> OK?

Yes, and don't forget to make it clear whether these trees are added to
the existing list, or replace it.

Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: