#! /bin/sh
#	BSDI $Id: begin_install,v 1.3 2000/10/13 16:56:32 polk Exp $

# Nothing to do if we installed new config files...
if [ -f /.install-floppy ] ; then
	exit 0;
fi

# INSTROOT is normally set by installsw.
if [ "$INSTROOT" = "/" ] ; then
        INSTROOT=
fi

echo "Cleaning up for installation of Developer"

# START REMOVE
# AUTOMATICALLY GENERATED, SEE ../build_remove
rm -rf $INSTROOT/usr/contrib/include/php/Zend/zend-parser.h
rm -rf $INSTROOT/usr/contrib/include/php/Zend/zend-scanner.h
rm -rf $INSTROOT/usr/contrib/include/php/build-defs.h
rm -rf $INSTROOT/usr/contrib/include/php/ext/standard/php_global.h
rm -rf $INSTROOT/usr/contrib/include/php/main/configuration-parser.h
rm -rf $INSTROOT/usr/contrib/include/php/main/php_realpath.h
rm -rf $INSTROOT/usr/contrib/include/php/main/php_virtual_cwd.h
rm -rf $INSTROOT/usr/contrib/include/php/php_config.h
rm -rf $INSTROOT/usr/lib/libc_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libcompat_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libgcc_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libjpeg_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libkvm_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libm_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libmi386_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libmstd_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libncurses_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libstdc++_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libtiff_s.4.2.0.a
rm -rf $INSTROOT/usr/lib/libutil_s.4.2.0.a
rm -rf $INSTROOT/usr/libexec/gcc-2.95.2
rm -rf $INSTROOT/usr/libexec/gcc-2.95.2/2.95.2
rm -rf $INSTROOT/usr/libexec/gcc-2.95.2/cc1
rm -rf $INSTROOT/usr/libexec/gcc-2.95.2/cc1plus
rm -rf $INSTROOT/usr/libexec/gcc-2.95.2/f771
# END REMOVE

exit 0;
