diff --git a/autoclean.sh b/autoclean.sh index 5e3def13d1c0..22639c231855 100755 --- a/autoclean.sh +++ b/autoclean.sh @@ -1,11 +1,7 @@ #!/bin/bash -rm -rf aclocal.m4 autom4te.cache stamp-h1 libtool configure config.* Makefile.in Makefile config/* m4/* +git clean -dfX -find -type f -name "*~" -print0 | xargs -0 rm -f -find -type f -name "*.sw[po]" -print0 | xargs -0 rm -f -find -type f -name "Makefile" -print0 | xargs -0 rm -f -find -type f -name "Makefile.in" -print0 | xargs -0 rm -f - -find -type d -name .deps -print0 | xargs -0 rm -rf +(cd SAI && git clean -dfX) +true