From 3d5f22814bc20546bd6361a2e718b2bde22fed12 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Fri, 15 Sep 2006 18:16:19 +0000 Subject: 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 --- scripts/release/clean.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 scripts/release/clean.sh (limited to 'scripts') 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 -- cgit v1.2.1