diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-09-15 21:00:27 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-17 11:15:14 +0000 |
commit | b898314b84e808d8e64c759140bdead2e573e78e (patch) | |
tree | 9a7d756beeef823cb96ad2d4cb0e378678dd6d1b /bootstrap.sh | |
parent | 70aa8d9677b13eb97e71bc758a09e14e37053565 (diff) | |
download | phosphor-host-ipmid-b898314b84e808d8e64c759140bdead2e573e78e.tar.gz phosphor-host-ipmid-b898314b84e808d8e64c759140bdead2e573e78e.zip |
bootstrap.sh: Enhance clean for subdirs and test support
Change-Id: Ieebaa759f59c6c2a020eb18120d4b48b7dc4a4f9
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 7 |
1 files changed, 4 insertions, 3 deletions
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 |