Rename perlunintro to perluniintro; regen toc.
[p5sagit/p5-mst-13.2.git] / pod / buildtoc.PL
index 90deff4..f486f83 100644 (file)
@@ -59,8 +59,43 @@ if (-d "pod") {
   die "$0: failed to chdir('pod'): $!\n" unless chdir("pod");
 }
 
-@pods = qw(
+@ARCHPODS = qw(
+    perlaix    
+    perlapollo
+    perlamiga          
+    perlbeos
+    perlbs2000
+    perlce
+    perlcygwin          
+    perldgux             
+    perldos             
+    perlepoc             
+    perlhpux            
+    perlhurd            
+    perlmachten         
+    perlmacos
+    perlmint
+    perlmpeix
+    perlnetware             
+    perlos2             
+    perlos390           
+    perlqnx
+    perlplan9
+    perlsolaris
+    perltru64
+    perluts
+    perlvmesa
+    perlvms             
+    perlvos             
+    perlwin32           
+          );
+
+@pods = 
+  (
+    qw(
+
     perl
+    perlintro
     perlfaq
     perltoc
     perlbook
@@ -74,6 +109,7 @@ if (-d "pod") {
     perldsc
     perlrequick
     perlpod
+    perlpodspec
     perlstyle
     perltrap
 
@@ -95,7 +131,7 @@ if (-d "pod") {
 
     perlboot
     perltoot
-    perltootc
+    perltooc
     perlobj
     perlbot
     perltie
@@ -103,18 +139,22 @@ if (-d "pod") {
     perlipc
     perlfork
     perlnumber
+
     perlthrtut
+    perlothrtut
 
     perlport
     perllocale
+    perluniintro
     perlunicode
     perlebcdic
 
     perlsec
 
     perlmod
-    perlmodlib
     perlmodinstall
+    perlmodlib
+    perlmodstyle
     perlnewmod
 
     perlfaq1            
@@ -133,6 +173,7 @@ if (-d "pod") {
     perldebguts         
     perlxstut           
     perlxs              
+    perlclib            
     perlguts            
     perlcall            
     perlutil            
@@ -140,46 +181,26 @@ if (-d "pod") {
     perldbmfilter       
     perlapi             
     perlintern          
+    perliol            
     perlapio            
     perltodo            
     perlhack            
 
     perlhist           
     perldelta           
+    perl572delta         
+    perl571delta         
+    perl570delta         
     perl56delta         
     perl5005delta       
     perl5004delta       
 
-    perlaix
-    perlamiga          
-    perlcygwin          
-    perldos             
-    perlepoc             
-    perlhpux            
-    perlmachten         
-    perlos2             
-    perlos390           
-    perlposix-bc
-    perlvms             
-    perlvos             
-    perlwin32           
-         );
+    ),
+
+    @ARCHPODS
+
+  );
 
-@ARCHPODS = qw(
-    perlaix    
-    perlamiga          
-    perlcygwin          
-    perldos             
-    perlepoc             
-    perlhpux            
-    perlmachten         
-    perlos2             
-    perlos390           
-    perlposix-bc
-    perlvms             
-    perlvos             
-    perlwin32           
-          );
 for (@ARCHPODS) { s/$/.pod/ }
 @ARCHPODS{@ARCHPODS} = ();
 
@@ -267,6 +288,9 @@ 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/!;
+       return if $file =~ m!lib/Net/FTP/.+\.pm!; # Hi, Graham! :-)
+        return if $file =~ m!lib/Math/BigInt/t/!;
 
        die "tut $name" if $file =~ /TUT/;
        unless (open (F, "< $_\0")) {
@@ -332,7 +356,7 @@ podset( @modules[ sort { $modname[$a] cmp $modname[$b] } 0 .. $#modules ] );
        Here should be listed all the extra programs' documentation, but they
        don't all have manual pages yet:
 
-       =over
+       =over 4
 
        =item a2p
 
@@ -385,13 +409,13 @@ sub podset {
        }
        if (s/^=head1 (.*)/=item $1/) {
            unhead2();
-           output "=over\n\n" unless $inhead1;
+           output "=over 4\n\n" unless $inhead1;
            $inhead1 = 1;
            output $_; nl(); next;
        }
        if (s/^=head2 (.*)/=item $1/) {
            unitem();
-           output "=over\n\n" unless $inhead2;
+           output "=over 4\n\n" unless $inhead2;
            $inhead2 = 1;
            output $_; nl(); next;
        }
@@ -403,7 +427,7 @@ sub podset {
            s/\s+$//;
            next if /^[\d.]+$/;
            next if $pod eq 'perlmodlib' && /^ftp:/;
-           ##print "=over\n\n" unless $initem;
+           ##print "=over 4\n\n" unless $initem;
            output ", " if $initem;
            $initem = 1;
            s/\.$//;