summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-23 18:09:12 +0000
committerKarl Berry <karl@freefriends.org>2010-05-23 18:09:12 +0000
commitbdbf5181624ab958acf8225d0fc3c95b9894c5ea (patch)
tree24b55277039da2e6ed70d7e9bbabb8d485e9ad48 /Master/tlpkg
parent26ba412edace5934f0ac8ed1752554bf8f55e423 (diff)
typos, consistency, autoupdates
git-svn-id: svn://tug.org/texlive/trunk@18436 c570f23f-e606-0410-a88d-b1316a301751
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