Commit fedf7f23 authored by unknown's avatar unknown

test-make-manual Cleaned up and added texi2dvi test.


Docs/Support/test-make-manual:
  Cleaned up and added texi2dvi test.
parent 92e4dc35
...@@ -2,30 +2,49 @@ ...@@ -2,30 +2,49 @@
function die function die
{ {
echo
echo $1 echo $1
exit 1 exit 1
} }
echo echo -n "Running makeinfo..."
echo "|---- Running makeinfo ----|"
makeinfo --no-split -I . manual.texi makeinfo --no-split -I . manual.texi
[ $? != 0 ] && die "Manual has errors - fix before you commit" if [ $? != 0 ]; then
die "Manual has errors - fix before you commit"
else
echo " Looks good."
fi
echo
echo "|---- Running texi2html ----|" echo -n "Running texi2html..."
/usr/bin/perl ./Support/texi2html -iso -number manual.texi /usr/bin/perl ./Support/texi2html -iso -number manual.texi
[ $? != 0 ] && die "Manual has errors - fix before you commit" if [ $? != 0 ]; then
die "Manual has errors - fix before you commit"
else
echo " Looks good."
fi
echo -n "Running texi2dvi..."
texi2dvi --batch --quiet manual.texi
if [ $? != 0 ]; then
die "Manual has errors - fix before you commit"
else
echo " Looks good."
fi
[ -z $BROWSER ] && BROWSER=netscape [ -z $BROWSER ] && BROWSER=netscape
echo
echo echo
echo "Please examine your modifications in \`manual.html'." echo "Please examine your modifications in \`manual.html'."
echo "For your convenience, I will show you the manual in $BROWSER" echo
echo "If you would like to use a different browser, set BROWSER enviroment\ echo "If you would like to use a different browser, set the 'BROWSER' environment"
variable" echo "variable."
echo "If this is a GUI browser, to get your shell prompt back, close the echo
window"
$BROWSER file://`pwd`/manual_toc.html $BROWSER file://`pwd`/manual_toc.html &
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment