Also removed distclean filecount hack. With Henriks adjustments the log
is no longer in the test build directory.
#
# empty all the existing code, reconfigure and builds test code
# but skip if we have no files to remove.
-# AYJ: 1 because we already created the build log
FILECOUNT=`ls -1 | grep -c .`
-if test "$FILECOUNT" != "1" ; then
+if test "$FILECOUNT" != "0" ; then
make -k distclean || echo "distclean done. errors are unwanted but okay here."
fi
rm -f -r src/fs/aufs/.deps src/fs/diskd/.deps &&
$base/../configure --silent ${OPTS} 2>&1 &&
make check 2>&1 &&
+ make distcheck 2>&1 &&
make 2>&1
# do not build any of the install's ...