summaryrefslogtreecommitdiff
path: root/cleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cleanup.sh')
-rwxr-xr-xcleanup.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/cleanup.sh b/cleanup.sh
new file mode 100755
index 0000000..6314e2c
--- /dev/null
+++ b/cleanup.sh
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+set -x
+if [ -f Makefile ] ; then
+ make -k clean
+fi
+rm mkinstalldirs
+rm aclocal.m4
+rm -rf autom4te.cache
+rm compile
+rm config.*
+rm configure
+rm depcomp
+rm install-sh
+rm ltmain.sh
+rm missing
+rm libtool
+find . -name Makefile -exec rm {} \;
+find . -name Makefile.in -exec rm {} \;
+find . -depth -name .deps -exec rm -rf {} \;
+