git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42840 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -31,9 +31,10 @@ echo
if ! [ -f mswindows/osgeo4w/configure-stamp ]; then
- echo $(date): STARTING make distclean
- make distclean
-
+ if [ -e include/Make/Grass.make ] ; then
+ echo $(date): STARTING make distclean
+ make distclean
+ fi
echo $(date): STARTING configure
./configure \