#! /bin/sh 
#
# Usage: updateindex
#
# updates the table of contents and the subindex files

echo "Updating Index `date`"
echo ""

# change this to where the index resides
INDEXDIR=.
cd $INDEXDIR

${INDEXDIR}/bin/createtoc

echo ""

${INDEXDIR}/bin/createindex

echo ""
echo "Index Updated."
