Browse Source

Clean submodules when building

Bryan Drewery 11 years ago
parent
commit
ba96bea67c
2 changed files with 2 additions and 0 deletions
  1. 1 0
      build/autotools/configure.ac
  2. 1 0
      configure

+ 1 - 0
build/autotools/configure.ac

@@ -249,6 +249,7 @@ fi
 if test -d .git; then
   git submodule init
   git submodule update
+  git submodule foreach --recursive git clean -fdx
 fi
 ]
 

+ 1 - 0
configure

@@ -10084,6 +10084,7 @@ fi
 if test -d .git; then
   git submodule init
   git submodule update
+  git submodule foreach --recursive git clean -fdx
 fi