Make cleanup.sh work a little better.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665588 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/cleanup.sh b/cleanup.sh
index d6b6df7..bd5e65e 100755
--- a/cleanup.sh
+++ b/cleanup.sh
@@ -3,7 +3,8 @@
 topsrcdir="`dirname $0`"
 cd "$topsrcdir"
 
-make distclean >/dev/null 2>&1
+make -k clean >/dev/null 2>&1
+make -k distclean >/dev/null 2>&1
 find . -name Makefile.in -exec rm -f {} \;
 rm -rf \
 AUTHORS \
@@ -21,8 +22,10 @@
 config.hin~ \
 config.log \
 config.status \
+config.status.lineno \
 config.sub \
 configure \
+configure.lineno \
 configure.scan \
 depcomp \
 .deps \
@@ -32,4 +35,5 @@
 ltmain.sh \
 missing \
 ylwrap \
-if/gen-*
+if/gen-* \
+test/gen-*