summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-12-15 10:15:56 +0100
committerNicholas Clark <nick@ccl4.org>2011-12-19 13:55:18 +0100
commit7a77d2e5baeb94530947a0b31a8ce3859a05bf10 (patch)
tree30580179859bc889fc6b48710645fa9898d8dee1
parent5a6ebf5f1bade18766ab23840c650c33987032be (diff)
downloadperl-7a77d2e5baeb94530947a0b31a8ce3859a05bf10.tar.gz
Tidy the Pod exclusion rules in buildtoc.
The rule to skip lib/Attribute/Handlers/demo/ was added by commit a83b6f4664409877 in June 2001, and rendered obsolete when Attribute:Handlers was moved to ext/ with commit 261f6fe66fcb39f4 in February 2009. The rule to skip Deve::PPPort's harness was added by commit 428dc699a4f0702c and tweaked by commit 34babc168865edbd, both in November 2001. It was rendered obsolete when the harness was merged into the main Devel::PPPort code in commit 4428420042d0cf28 in December 2001. The rule to skip Math::BitInt's tests, added in commit ba62762e535f4b26 in November 2001 was made superfluous when the general rule to skip test directories was added by commit 2a55110093932342 in May 2003.
-rw-r--r--pod/buildtoc3
1 files changed, 0 insertions, 3 deletions
diff --git a/pod/buildtoc b/pod/buildtoc
index 4024d070a6..a5d3d292fc 100644
--- a/pod/buildtoc
+++ b/pod/buildtoc
@@ -33,10 +33,7 @@ find(sub {
my $file = $File::Find::name;
return if $file =~ qr!/Pod/Functions.pm\z!; # Used only by pod itself
return if $file =~ m!(?:^|/)t/!;
- return if $file =~ m!lib/Attribute/Handlers/demo/!;
return if $file =~ m!lib/Net/FTP/.+\.pm!; # Hi, Graham! :-)
- return if $file =~ m!lib/Math/BigInt/t/!;
- return if $file =~ m!/Devel/PPPort/[Hh]arness|lib/Devel/Harness!i;
return if $file =~ m!XS/(?:APItest|Typemap)!;
my $pod = $file;
return if $pod =~ s/pm$/pod/ && -e $pod;