THRIFT-500. Ignore and clean some new generated files

r772440 caused libtoolize to dump some extra files into aclocal.
This change adds them to gitignore and removes them in cleanup.sh.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991243 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/.gitignore b/.gitignore
index c0f2930..e3f71ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,10 @@
 /Makefile
 /Makefile.in
+/aclocal/libtool.m4
+/aclocal/ltoptions.m4
+/aclocal/ltsugar.m4
+/aclocal/ltversion.m4
+/aclocal/lt~obsolete.m4
 /aclocal.m4
 /autom4te.cache
 /autoscan.log
@@ -55,6 +60,10 @@
 /lib/py/build
 /lib/rb/Makefile
 /lib/rb/Makefile.in
+/lib/php/Makefile
+/lib/php/Makefile.in
+/lib/erl/Makefile
+/lib/erl/Makefile.in
 /libtool
 /ltmain.sh
 /missing
diff --git a/cleanup.sh b/cleanup.sh
index 0ea55bb..10c575e 100755
--- a/cleanup.sh
+++ b/cleanup.sh
@@ -32,6 +32,11 @@
 Makefile \
 Makefile.in \
 Makefile.orig \
+aclocal/libtool.m4 \
+aclocal/ltoptions.m4 \
+aclocal/ltsugar.m4 \
+aclocal/ltversion.m4 \
+aclocal/lt~obsolete.m4 \
 aclocal.m4 \
 autom4te.cache \
 autoscan.log \