summaryrefslogtreecommitdiff
path: root/pod/roffitall
diff options
context:
space:
mode:
authorLarry W. Virden <lvirden@cas.org>1997-06-11 12:00:00 +1200
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-06-11 12:00:00 +1200
commit2ceaccd71c2e15067691ff5d6509bed0b81708ee (patch)
treeb506fb488e6c00f5287f100ef8b929db2fe144de /pod/roffitall
parent64a2d3c93b97214cc31124cb3319ba08995b1da1 (diff)
downloadperl-2ceaccd71c2e15067691ff5d6509bed0b81708ee.tar.gz
misc perl5.004 doc fixes
here are a few doc changes that fix a few typos, etc. p5p-msgid: 199705160419.AAA16317@cas.org
Diffstat (limited to 'pod/roffitall')
-rwxr-xr-xpod/roffitall8
1 files changed, 8 insertions, 0 deletions
diff --git a/pod/roffitall b/pod/roffitall
index d69054f41b..cbd19af4fe 100755
--- a/pod/roffitall
+++ b/pod/roffitall
@@ -180,14 +180,22 @@ 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"