[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



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!).

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?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
HODNET (n.)
The wooden safety platform supported by scaffolding round a building
under construction from which the builders (at almost no personal
risk) can drop pieces of cement on passers-by.
			--- Douglas Adams, The Meaning of Liff



Reply to: