cp scripts/regress-config build
cd build
rm -f Makefile config.cache
-# Remove files that may be too big
-cd doc
-if [ -d latex ] ; then
- cd latex
- make clean
- cd ..
-fi
-if [ -d latex-fr ] ; then
- cd latex-fr
- make clean
- cd ..
-fi
-if [ -d images ] ; then
- cd images
- rm -f *.png *.jpg *.gif *.eps
- rm -rf hires
- cd ..
-fi
-cd ${cwd}/build
-if [ -d rescue/linux/cdrom/cdtree ] ; then
- cd rescue/linux/cdrom/cdtree
- rm -rf bacula-*
- cd ..
- rm -rf bootcd.iso
-fi
-cd ${cwd}/build
# Run Bacula configuration, make, install
./regress-config ${cwd} $2 $3 $4
make