From d4c10a5ed1107e22a6d1c3bc96d9b8a15e0184a4 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Sat, 6 Jun 2020 14:34:02 +0000 Subject: [CWEB] Add index entries for the CWEBINPUTS envvar. git-svn-id: svn://tug.org/texlive/trunk@55433 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/cwebdir/comm-w2c.ch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Build/source/texk/web2c/cwebdir/comm-w2c.ch') diff --git a/Build/source/texk/web2c/cwebdir/comm-w2c.ch b/Build/source/texk/web2c/cwebdir/comm-w2c.ch index 34b92c1e6e2..f3cd1bbad9d 100644 --- a/Build/source/texk/web2c/cwebdir/comm-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/comm-w2c.ch @@ -333,6 +333,7 @@ double quotes. The actual file lookup is done with the help of the \Kpathsea/ library; see section~\X90:File lookup with \Kpathsea/\X~for details. % FIXME The remainder of the \.{@@i} line after the file name is ignored. +@^system dependencies@> @.CWEBINPUTS@> @z @x @@ -347,6 +348,12 @@ The remainder of the \.{@@i} line after the file name is ignored. @y @z +@x +@ @= { +@y +@ @.CWEBINPUTS@>@= { +@z + @x char temp_file_name[max_file_name_length]; char *cur_file_name_end=cur_file_name+max_file_name_length-1; @@ -1334,6 +1341,7 @@ The directories to be searched for come from three sources: \item{(c)} compile-time default directories (specified in \.{texmf.in}),\hfil\break i.e., \.{\$TEXMFDOTDIR:\$TEXMF/texmf/cweb//}.\par} +@.CWEBINPUTS@> @d kpse_find_cweb(name) kpse_find_file(name,kpse_cweb_format,true) @@ -1351,6 +1359,7 @@ typedef bool boolean; \.{CWEBINPUTS.cweb} is present in \.{texmf.cnf} (or \.{CWEBINPUTS\_cweb} in the environment) its value will be used as the search path for filenames. This allows different flavors of \.{CWEB} to have different search paths. +@.CWEBINPUTS@> @= kpse_set_program_name(argv[0], "cweb"); -- cgit v1.2.3