From b898314b84e808d8e64c759140bdead2e573e78e Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Thu, 15 Sep 2016 21:00:27 -0500 Subject: bootstrap.sh: Enhance clean for subdirs and test support Change-Id: Ieebaa759f59c6c2a020eb18120d4b48b7dc4a4f9 Signed-off-by: Patrick Williams --- bootstrap.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 4501fb1..2795095 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,13 +1,14 @@ #!/bin/sh AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile config.* \ - configure depcomp install-sh ltmain.sh missing *libtool" + configure depcomp install-sh ltmain.sh missing *libtool test-driver" case $1 in clean) test -f Makefile && make maintainer-clean - rm -rf ${AUTOCONF_FILES} - + for file in ${AUTOCONF_FILES}; do + find -name "$file" | xargs -r rm -rf + done exit 0 ;; esac -- cgit v1.2.1