Linux HOWTOs

About | Home | Search

HOWTO: xlhtml
Description: Utilities for converting xls and ppt files into HTML
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything

# xlhtml 0.5
# ==========
# Prerequisites:
# autoconf (for autoreconf below)
# automake (")

test -f installed/xlhtml-0.5.tgz && mv installed/xlhtml-0.5.tgz .
test ! -f xlhtml-0.5.tgz &&
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "xlhtml-*" -exec rm -r {} \;
tar xzvf ~/xlhtml-0.5.tgz
cd xlhtml-0.5
test $UID = 0 && chown -R root:root .
autoreconf -f -i
su -c "make install"
mkdir -p -m 0700 installed
rm -f installed/xlhtml-*.tar.*
mv xlhtml-0.5.tgz installed/

# If you ever want to uninstall xlhtml, this should do it:
test -d src/xlhtml-* && ( cd src/xlhtml-* ; make uninstall )
( /usr/local/bin ; rm -f nsopen nspptview nsxlview ppthtml xlhtml )
( /usr/local/man/man1 ; rm -f ppthtml.1 xlhtml.1 )
find ~/src -maxdepth 1 -type d -name "xlhtml-*" -exec rm -r {} \;
rm -f ~/installed/xlhtml-*.tar.*

Back to the list

Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>