From fb5364d53a963371fb42f7c00658e0b231774bd6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 16 Jun 2008 00:29:25 +0000 Subject: build ls-R for texmf-doc git-svn-id: svn://tug.org/texlive/trunk@8766 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/web2c/texmf.cnf | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Master') diff --git a/Master/texmf/web2c/texmf.cnf b/Master/texmf/web2c/texmf.cnf index 2f0719d4b7a..d4f85cb89cb 100644 --- a/Master/texmf/web2c/texmf.cnf +++ b/Master/texmf/web2c/texmf.cnf @@ -49,6 +49,9 @@ TEXMFMAIN = $SELFAUTOPARENT/texmf % The main distribution tree: TEXMFDIST = $SELFAUTOPARENT/texmf-dist +% Our documentation-only tree, arranged by language: +TEXMFDOC = $SELFAUTOPARENT/texmf-doc + % A place for local additions to a "standard" texmf tree. % This tree is not used for local configuration maintained by % texconfig, it uses TEXMFCONFIG below. @@ -114,13 +117,13 @@ VARTEXFONTS = $TEXMFVAR/fonts % Where to look for ls-R files. There need not be an ls-R in the % directories in this path, but if there is one, Kpathsea will use it. +% By default, this is only the !! elements of TEXMF, plus texmf-doc, so +% that mktexlsr does not create ls-R files in the non-!! elements -- +% because if an ls-R is present, it will be used, and the disk will not +% be searched. This is arguably a bug in kpathsea, but we will not +% think about it now. % -% By default, this is only the !! elements of TEXMF, so that mktexlsr -% does not create ls-R files in the non-!! elements -- because if an -% ls-R is present, it will be used, and the disk will not be searched. -% This is arguably a bug in kpathsea, but we will not think about it now. -% -TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST} +TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST,!!$TEXMFDOC} % It may be convenient to define TEXMF like this: % TEXMF = {$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFMAIN,~} @@ -380,7 +383,7 @@ FC_CACHEDIR=$TEXMFSYSVAR/fonts/cache % in addition to the doc files in the other hierarchies. % Also, find the English documentation first -- better than random, when % there are name collisions. -TEXMFDOCDIR = $SELFAUTOPARENT/texmf-doc/doc{/english,} +TEXMFDOCDIR = $TEXMFDOC/doc{/english,} TEXDOCS = .;$TEXMF/doc//;$TEXMFDOCDIR// TEXSOURCES = .;$TEXMF/source// -- cgit v1.2.3