#!/bin/sh
#
# copy documentation files to target directory
#

AUTOPSYHOME=`pwd`
cd $AUTOPSYHOME

#find man setup help macros -name SCCS -prune -o ! -type d -print | \
#    tar cf - - | (cd $1; tar xvf -)
tar cf - man setup help macros | (cd $1; tar xvf -)
cp bin/INSTALL bin/autopsy doc/README $1

cd $1
chmod +x INSTALL
chmod +wx autopsy

#cd help
#rm -rf html

#mkdir ../man
#for name in `ls`; do
#  if [ $name != SCCS -a ! -l $name ]; then
#    cat $name
#    echo ''
#  fi
#done | /usr/lib/print/lptops -N b1 -U -P12bp > ../man/ref.ps

#$AUTOPSYHOME/bin/help2html *
rm -f html/Mouse.html
