aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-12-01 21:56:07 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-12-01 21:56:07 +0000
commitf0744de4c0f13dd842f324fc9e591e180bcbf1f7 (patch)
tree17cbd7a9eaef00802cae4e8a3340134f9703d7ed /scripts
parentRelease 1.2.15. (diff)
downloadsandbox-f0744de4c0f13dd842f324fc9e591e180bcbf1f7.tar.gz
sandbox-f0744de4c0f13dd842f324fc9e591e180bcbf1f7.tar.bz2
sandbox-f0744de4c0f13dd842f324fc9e591e180bcbf1f7.zip
Move clean.sh to scripts. Some 'make distcheck' fixes.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clean.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/clean.sh b/scripts/clean.sh
new file mode 100755
index 0000000..b9c0eb2
--- /dev/null
+++ b/scripts/clean.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+if [[ -f Makefile ]] ; then
+ make distclean
+fi
+
+for f in \
+ `find . -name Makefile.in -o -name Makefile` \
+ `find . -name .libs -o -name .deps -type d` \
+ `find . -name '*.o' -o -name '*.la' -o -name '*.lo' -o -name '*.loT'` \
+ aclocal.m4* autom4te.cache \
+ configure config.* \
+ depcomp install-sh ltmain.sh missing mkinstalldirs libtool \
+ compile stamp-* \
+ src/sandbox src/libsandbox.map src/symbols.h;
+do
+ rm -rf $f
+done