summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-09-15 18:16:19 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-09-15 18:16:19 +0000
commit3d5f22814bc20546bd6361a2e718b2bde22fed12 (patch)
tree9ceb56480594a277ebcdd3cd70be3c4494213da4 /scripts
parente4ab44a38068e3a856c49b681963159030a377a3 (diff)
downloadparted-3d5f22814bc20546bd6361a2e718b2bde22fed12.tar.gz
Added a script to clean the tree after running 'make distclean'. Gets it back to the checked-out state from svn.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@829 2d424fd7-7fe2-0310-af74-8bc65edeb173
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release/clean.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/release/clean.sh b/scripts/release/clean.sh
new file mode 100755
index 0000000..82a9c2a
--- /dev/null
+++ b/scripts/release/clean.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+# Clean tree of unmanaged files after a 'make distclean'
+
+if [ ! -d parted ] && [ ! -d libparted ]; then
+ echo "Run this from the toplevel parted directory."
+ exit 1
+fi
+
+rm -rf m4 configure config.rpath depcomp
+rm -rf parted-*.*.*
+rm -rf compile config.guess config.sub ltmain.sh mkinstalldirs
+rm -rf config.h.in autom4te.cache missing aclocal.m4 install-sh
+rm -rf doc/stamp-vti doc/version.texi doc/parted.info
+rm -rf ABOUT-NLS INSTALL
+
+rm -rf po/*.gmo po/stamp-po po/Makevars.template po/Rules-quot
+rm -rf po/Makefile.in.in
+
+find . -type f -name Makefile.in | xargs rm -f
+
+exit 0