mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 14:17:27 -04:00
Corrected cleanup
This commit is contained in:
parent
03967f5ba6
commit
fec9cc90e6
2 changed files with 13 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue