2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

Corrected cleanup

This commit is contained in:
Michael Sawyer
2000-07-06 19:54:02 +00:00
parent 03967f5ba6
commit fec9cc90e6
2 changed files with 13 additions and 6 deletions

View File

@@ -13,7 +13,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: Makefile.in,v 1.15 2000/07/06 19:40:57 mws Exp $
# $Id: Makefile.in,v 1.16 2000/07/06 19:54:01 mws Exp $
@BIND9_INCLUDES@
SUBDIRS = lwresd
@@ -24,9 +24,6 @@ TARGETS =
test:
sh ./runall.sh
distclean::
sh ./cleanall.sh
clean distclean::
sh ./cleanall.sh

View File

@@ -15,7 +15,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: cleanall.sh,v 1.1 2000/06/23 21:28:17 mws Exp $
# $Id: cleanall.sh,v 1.2 2000/07/06 19:54:02 mws Exp $
#
# Clean up after system tests.
@@ -24,5 +24,15 @@
SYSTEMTESTTOP=.
. $SYSTEMTESTTOP/conf.sh
find . -type f -name '*.run' -print | xargs rm -f
find . -type f \( \
-name 'K*' -o -name '*~' -o -name '*.core' -o -name '*.log' \
-o -name '*.pid' -o -name '*.keyset' \
\) -print | xargs rm -f
status=0
for d in $SUBDIRS
do
test ! -f $d/clean.sh || ( cd $d && sh clean.sh )
done