pdirt/data/
pdirt/data/HELP/
pdirt/data/HELP/0/
pdirt/data/HELP/F/
pdirt/data/HELP/G/
pdirt/data/HELP/H/
pdirt/data/HELP/J/
pdirt/data/HELP/K/
pdirt/data/HELP/O/
pdirt/data/HELP/Q/
pdirt/data/HELP/R/
pdirt/data/HELP/U/
pdirt/data/HELP/V/
pdirt/data/HELP/Y/
pdirt/data/HELP/Z/
pdirt/data/MESSAGES/
pdirt/data/POWERINFO/
pdirt/data/WIZ_ZONES/
pdirt/drv/
pdirt/drv/bin/
pdirt/drv/compiler/converter/
pdirt/drv/compiler/libs/
pdirt/drv/compiler/scripts/
pdirt/drv/include/AberChat/
pdirt/drv/include/InterMud/
pdirt/drv/include/machine/
pdirt/drv/src/InterMud/
pdirt/drv/src/Players/
pdirt/drv/utils/UAFPort/
pdirt/drv/utils/dnsresolv/
pdirt/drv/utils/gdbm/
#!/bin/csh -f
# this is usually called from the Makefiles...
# it deletes all the files not needed for distribution. Be prepared
# to enter log comments if you are using RCS and have made any changes.
# -val


cd ../..
echo Deleting all object files, and temporary files and executables...

find . \( -name '*core*' -o -name '*.o' -o -name '*~' -o -name '#*#' -o -name '*.BAK' \) -exec rm {} \; -o -fstype nfs -prune

echo Deleting aberd, generate, pfilter, xpp...

cd drv
rm -f src/aberd
rm -f bin/aberd
rm -f bin/aberd.old
rm -f bin/generate
rm -f bin/pfilter
rm -f bin/xpp
rm -f bin/Dump
rm -f utils/generate
rm -f utils/convert
rm -f utils/Dump

echo Deleting non-distributable files...
cd ..
rm -f data/locations data/generrors data/mobiles data/objects
rm -f data/reset.list data/verbs data/zones data/users_data
rm -f data/syslog data/wizlist
rm -f data/TMP/*
rm -f data/REBOOT/*



#uncomment following if you are not using RCS
exit 0

echo Checking in any checked out files...
cd src
foreach i (*.c *.h)
	echo "---->>>> " $i
	ci -q $i
end