HOWTO
# Texi2html 1.64
# ==============
# This script also comes with TeTex. The version included with it
# (check 'texi2html --version') is most likely newer than this one.
#
teTeX is included with Slackware
# Prerequisites:
#
perl
cd
test -f installed/texi2html-1.64.tar.gz &&
mv installed/texi2html-1.64.tar.gz .
test ! -f texi2html-1.64.tar.gz &&
wget http://www.mathematik.uni-kl.de/~obachman/Texi2html/Distrib/texi2html-1.64.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "texi2html-*" -exec rm -r {} \;
tar xzvf ~/texi2html-1.64.tar.gz
cd texi2html-1.64
test $UID = 0 && chown -R root:root .
./configure
make
# Become root to install it
su
# 'make install' will also install /usr/local/html/texi2html.html, which
# I skip:
install texi2html /usr/local/bin/
install -m 644 texi2html.info /usr/local/info/
install -m 644 texi2html.1 /usr/local/man/man1/
# Become yourself again
exit
cd
mkdir -p -m 0700 installed
rm -f installed/texi2html-*.tar.*
mv texi2html-1.64.tar.gz installed/
# If you ever want to uninstall texi2html, this should do it:
cd
su
test -d src/texi2html-* && ( cd src/texi2html-* ; make uninstall )
rm -f /usr/local/bin/texi2html /usr/local/info/texi2html.info /usr/local/man/man1/texi2html.1 /usr/local/html/texi2html.html
rmdir --ignore-fail-on-non-empty /usr/local/html
exit
find ~/src -maxdepth 1 -type d -name "texi2html-*" -exec rm -r {} \;
rm -f ~/installed/texi2html-*.tar.*