summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/check-files-by-format7
-rw-r--r--Master/tlpkg/tlpsrc/chktex.tlpsrc2
2 files changed, 7 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/check-files-by-format b/Master/tlpkg/bin/check-files-by-format
index aa4ec6725b4..389fd2bf932 100755
--- a/Master/tlpkg/bin/check-files-by-format
+++ b/Master/tlpkg/bin/check-files-by-format
@@ -176,6 +176,7 @@ my $tmpdir = File::Temp::tempdir(CLEANUP => 1);
exit(main());
+
sub main
{
my @files = get_file_list();
@@ -201,14 +202,18 @@ sub main
sub get_file_list
{
my $tlpdb = TeXLive::TLPDB->new(root => $tlroot);
- my @files;
+ my @files = ();
for my $tlpname ($tlpdb->list_packages) {
my $tlp = $tlpdb->get_package($tlpname);
push(@files, $tlp->docfiles, $tlp->runfiles, $tlp->srcfiles);
}
+ # ptex font files are in their own formats; don't bother checking,
+ # or adding individual entries to the exclude lists.
+ @files = grep ($_ !~ m!/ptex/!, @files);
return @files;
}
+
# return the value in exclude list associated to a file, or undef
sub exclude_value
{
diff --git a/Master/tlpkg/tlpsrc/chktex.tlpsrc b/Master/tlpkg/tlpsrc/chktex.tlpsrc
index 35811eb458b..e4999f2c3ec 100644
--- a/Master/tlpkg/tlpsrc/chktex.tlpsrc
+++ b/Master/tlpkg/tlpsrc/chktex.tlpsrc
@@ -6,4 +6,4 @@ binpattern f bin/${ARCH}/deweb
docpattern f texmf/doc/man/man1/chktex.*
docpattern f texmf/doc/man/man1/chkweb.*
docpattern f texmf/doc/man/man1/deweb.*
-docpattern d texmf doc/chktex
+docpattern d texmf/doc/chktex