summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);