#!/bin/sh

BIN=/usr/local/bin/
MAN=/usr/local/man/man1
LIB=

# put install directory into script
here=`pwd`
sed -e "s#@@INSTALL@@#$here#" < html-check.template > bin/html-check
chmod +x bin/html-check

# (re)make links from popular bin/man directory so
# users can find the script and man page.
rm -f $BIN/html-check; ln -s $here/bin/html-check $BIN/html-check 
rm -f $BIN/sgmls; ln -s $here/bin/sgmls $BIN/sgmls
rm -f $MAN/html-check.1; ln -s $here/man/man1/html-check.1 $MAN/html-check.1 

