#!/bin/sh echo Making the revisions HTML file echo '
SCLITE revisions


Sclite Revision.txt

'  > revis.htm
cat ../revision.txt >> revis.htm
echo '
' >> revis.htm normalize(){ sed -e 's/> foo/$name.htm done (cd foo ; ../html2man.pl $name) ; cat foo/*.1 | \ perl -pe 'if ($_ =~ /SYNOPSIS/) {print "NOTE: This manual page was created automatically from\n". "HTMl pages in the sclite/doc directory. This manual page does not\n". "include output file examples. The author suggests using a HTML browser\n". "for reading the sclite documentation.\n.PP\n"; s/\.sys\./".sys"./;}' > $name.1 rm -rf foo } make_page sclite "sclite.htm options.htm infmts.htm" make_page rover "rover.htm" make_page sc_stats "sc_stats.htm st_opt.htm"