annotate libtests/clean.sh @ 372:52406e53f133

Make clean a dependency of distclean Makefile target.
author mas01cr
date Thu, 13 Nov 2008 15:31:54 +0000
parents 94c18f128ce8
children cd63493c32a9
rev   line source
mas01ik@355 1 #! /bin/sh
mas01ik@355 2
mas01ik@355 3 for file in [0-9][0-9][0-9][0-9]*; do
mas01ik@355 4 if [ -d ${file} ]; then
mas01ik@355 5 echo Cleaning ${file}
mas01ik@355 6 rm -f ${file}/test*
mas01ik@355 7 if [ -f ${file}/clean.sh ]; then
mas01ik@355 8 (cd ${file} && sh ./clean.sh)
mas01ik@355 9 fi
mas01ik@355 10 fi
mas01ik@355 11 done