htmldoc - Converts HTML to HTML, PS, or PDF with a ToC ChangeLog


# HTMLDOC 1.8.27
# ==============
# There is also a commercial version available here:

# Prerequisites:
# gawk
# fltk (for the GUI)
# openssl, gnutls, or cdsa (for SSL/TLS support)
# libjpeg (a local copy is available if you don't have it installed)
# zlib (")
# libpng (")

test -f installed/htmldoc-1.8.27-source.tar.bz2 &&
mv installed/htmldoc-1.8.27-source.tar.bz2 .
test ! -f htmldoc-1.8.27-source.tar.bz2 &&

# Verify tarball w/ md5sum:
echo "35589e7b8fe9c54e11be87cd5aec4dcc  htmldoc-1.8.27-source.tar.bz2" | \
md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "htmldoc-*" -exec rm -r {} \;
tar xjvf ~/htmldoc-1.8.27-source.tar.bz2
cd htmldoc-1.8.27
test $UID = 0 && chown -R root:root .

# If OpenSSL is installed under a prefix covered by your PATH (/usr,
# /usr/local, etc.) then just run "./configure"

./configure \
--with-openssl-includes=/usr/local/ssl/include \
su -c "make install"
mkdir -p -m 0700 installed
rm -f installed/htmldoc-*.tar.*
mv htmldoc-1.8.27-source.tar.bz2 installed/

# If you ever want to uninstall HTMLDOC, this should do it:
test -d /usr/share/htmldoc && rm -r /usr/share/htmldoc
test -d /usr/share/doc/htmldoc && rm -r /usr/share/doc/htmldoc
rm -f /usr/bin/htmldoc /usr/man/man1/htmldoc.1
find ~/src -maxdepth 1 -type d -name "htmldoc-*" -exec rm -r {} \;
rm -f ~/installed/htmldoc-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2006-08-08 4:26pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.