default_install                &&
pushd webui                    &&
rm Makefile*                   &&
rm cgi-bin/Makefile*           &&
rm cgi-bin/templates/Makefile* &&
rm htdocs/Makefile*            &&
install_www_files              &&
popd                           &&
if [[ "$DSPAM_PGSQL"  == y ]]; then 
   [ ! -e ${INSTALL_ROOT}/usr/share/doc/dspam/postgresql ] &&
     mkdir -p ${INSTALL_ROOT}/usr/share/doc/dspam/postgresql
   install -D src/tools.pgsql_drv/*.sql ${INSTALL_ROOT}/usr/share/doc/dspam/postgresql/
fi &&
if [[ "$DSPAM_MYSQL"  == y ]]; then 
   [ ! -e ${INSTALL_ROOT}/usr/share/doc/dspam/mysql ] &&
     mkdir -p ${INSTALL_ROOT}/usr/share/doc/dspam/mysql
   install -D src/tools.mysql_drv/*.sql ${INSTALL_ROOT}/usr/share/doc/dspam/mysql/
fi
