pod tweak suggested by Ilya
[p5sagit/p5-mst-13.2.git] / pod / roffitall
old mode 100755 (executable)
new mode 100644 (file)
index ae2cd06..244048a
@@ -41,6 +41,7 @@ toroff=`
     $mandir/perlvar.1  \
     $mandir/perlsub.1  \
     $mandir/perlmod.1  \
+    $mandir/perlmodlib.1       \
     $mandir/perlref.1  \
     $mandir/perldsc.1  \
     $mandir/perllol.1  \
@@ -63,6 +64,16 @@ toroff=`
     $mandir/perlembed.1        \
     $mandir/perlpod.1  \
     $mandir/perlbook.1 \
+    $mandir/perlfaq.1  \
+    $mandir/perlfaq1.1 \
+    $mandir/perlfaq2.1 \
+    $mandir/perlfaq3.1 \
+    $mandir/perlfaq4.1 \
+    $mandir/perlfaq5.1 \
+    $mandir/perlfaq6.1 \
+    $mandir/perlfaq7.1 \
+    $mandir/perlfaq8.1 \
+    $mandir/perlfaq9.1 \
        \
     $libdir/blib.3     \
     $libdir/diagnostics.3      \
@@ -96,7 +107,6 @@ toroff=`
     $libdir/ExtUtils::Manifest.3       \
     $libdir/ExtUtils::Mkbootstrap.3    \
     $libdir/ExtUtils::Mksymlists.3     \
-    $libdir/Fatal.3    \
     $libdir/Fcntl.3    \
     $libdir/File::Basename.3   \
     $libdir/File::CheckTree.3  \
@@ -123,6 +133,7 @@ toroff=`
     $libdir/Math::BigFloat.3   \
     $libdir/Math::BigInt.3     \
     $libdir/Math::Complex.3    \
+    $libdir/Math::Trig.3       \
     $libdir/Net::Ping.3        \
     $libdir/Net::hostent.3     \
     $libdir/Net::netent.3      \
@@ -169,14 +180,23 @@ fi
 #psroff -t -man -rC1 -rD1 -rF1 > $tmp/PerlDoc.ps 2>$tmp/PerlTOC.raw
 #nroff -man -rC1 -rD1 -rF1 > $tmp/PerlDoc.txt 2>$tmp/PerlTOC.nr.raw
 
+# First, create the raw data
 run="$cmd -rC1 -rD1 -rF1 >$tmp/PerlDoc.$ext 2>$tmp/PerlTOC.$ext.raw"
 echo "$me: running $run"
 eval $run $toroff
+
+#Now create the TOC
 echo "$me: parsing TOC"
 ./rofftoc $tmp/PerlTOC.$ext.raw > $tmp/PerlTOC.tmp.man
 run="$cmd $tmp/PerlTOC.tmp.man >$tmp/PerlTOC.$ext"
 echo "$me: running $run"
 eval $run
+
+# Finally, recreate the Doc, without the blank page 0
+run="$cmd -rC1 -rD1 >$tmp/PerlDoc.$ext 2>$tmp/PerlTOC.$ext.raw"
+echo "$me: running $run"
+eval $run $toroff
 rm -f $tmp/PerlTOC.tmp.man $tmp/PerlTOC.$ext.raw
 echo "$me: leaving you with $tmp/PerlDoc.$ext and $tmp/PerlTOC.$ext"
 
+