# antiword 0.37
# =============
# As of 0.36 this howto installs the resource files into /usr/share/antiword
# If you're upgrading an older version of antiword and you have the
# /root/.antiword/ directory, you should remove it and everything in it
# unless you have customized files in there.
cd
test -f installed/antiword-0.37.tar.gz &&
mv installed/antiword-0.37.tar.gz .
test ! -f antiword-0.37.tar.gz &&
wget http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "antiword-*" -exec rm -r {} \;
tar xzvf ~/antiword-0.37.tar.gz
cd antiword-0.37
test $UID = 0 && chown -R root:root .
make