summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-05-01 17:54:08 +0000
committerKarl Berry <karl@freefriends.org>2008-05-01 17:54:08 +0000
commite4543c506d0ba4e4b501276e846ed1778aa52811 (patch)
tree78e1d445c73876722c6b94af8475bc2a13c7ccf9 /Build
parent0e1eac3d2026de1af63194d49e34ea176ba1f86e (diff)
.dtx and .ins as alt suffixes for TEXSOURCES
git-svn-id: svn://tug.org/texlive/trunk@7781 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/tex-file.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 0d710629cc8..86126102dcc 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-01 Karl Berry <karl@tug.org>
+
+ * tex-file.c (ALT_SOURCES_SUFFIXES): new macro (.dtx, .ins).
+ (kpse_init_format) <kpse_texsource_format>: use it.
+
2008-04-30 Karl Berry <karl@tug.org>
* kpsewhich.c (read_command_line): leave two spaces before alt
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index b566df0877e..ba0449b6f80 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -573,6 +573,8 @@ kpse_init_format P1C(kpse_file_format_type, format)
break;
case kpse_texsource_format:
INIT_FORMAT ("TeX system sources", DEFAULT_TEXSOURCES, TEXSOURCE_ENVS);
+#define ALT_SOURCES_SUFFIXES ".dtx", ".ins"
+ ALT_SUFFIXES (ALT_SOURCES_SUFFIXES);
break;
case kpse_troff_font_format:
INIT_FORMAT ("Troff fonts", DEFAULT_TRFONTS, TROFF_FONT_ENVS);