X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fbuildtoc.PL;h=215dcfea2c2de0260e57cfd73a68980db191aafb;hb=2975d2266cd5007c9c9ffad3ff137d0cd9a1bceb;hp=a89c4c98eb77c14b35404d896e7f6c6483ee0a5b;hpb=772ff3b9a0f0c2a13c6c07025abd657f0b9691c9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/buildtoc.PL b/pod/buildtoc.PL index a89c4c9..215dcfe 100644 --- a/pod/buildtoc.PL +++ b/pod/buildtoc.PL @@ -59,7 +59,38 @@ if (-d "pod") { die "$0: failed to chdir('pod'): $!\n" unless chdir("pod"); } -@pods = qw( +@ARCHPODS = qw( + perlaix + perlapollo + perlamiga + perlbeos + perlbs2000 + perlcygwin + perldgux + perldos + perlepoc + perlhpux + perlhurd + perlmachten + perlmacos + perlmint + perlmpeix + perlos2 + perlos390 + perlqnx + perlplan9 + perlsolaris + perltru64 + perlvmesa + perlvms + perlvos + perlwin32 + ); + +@pods = + ( + qw( + perl perlfaq perltoc @@ -155,48 +186,12 @@ if (-d "pod") { perl5005delta perl5004delta - perlaix - perlamiga - perlbs2000 - perlcygwin - perldgux - perldos - perlepoc - perlhpux - perlmachten - perlmacos - perlmpeix - perlos2 - perlos390 - perlsolaris - perltru64 - perlvmesa - perlvms - perlvos - perlwin32 - ); + ), + + @ARCHPODS + + ); -@ARCHPODS = qw( - perlaix - perlamiga - perlbs2000 - perlcygwin - perldgux - perldos - perlepoc - perlhpux - perlmachten - perlmacos - perlmpeix - perlos2 - perlos390 - perlsolaris - perltru64 - perlvmesa - perlvms - perlvos - perlwin32 - ); for (@ARCHPODS) { s/$/.pod/ } @ARCHPODS{@ARCHPODS} = (); @@ -284,6 +279,7 @@ sub getpods { return if /(.*)\.pm$/ && -f "$1.pod"; my $file = $File::Find::name; return if $file eq '../lib/Pod/Functions.pm'; # Used only by pod itself + return if $file =~ m!lib/Attribute/Handlers/demo/!; die "tut $name" if $file =~ /TUT/; unless (open (F, "< $_\0")) {