Makefile: clean should just remove ${OUTPUT_DIRS}

This commit is contained in:
Laurence Withers 2006-07-24 15:50:13 +01:00
parent 08b01444bb
commit 920b871f49
1 changed files with 1 additions and 6 deletions

View File

@ -257,12 +257,7 @@ do
case ${func} in case ${func} in
clean) clean)
echo "Cleaning..." echo "Cleaning..."
for dir in ${OUTPUT_DIRS} rm -rf ${OUTPUT_DIRS}
do
[ -e "${dir}" ] && do_cmd \
find "${dir}" \( -type f -o -type l \) -exec rm {} \;
[ $? -ne 0 ] && exit $?
done
print_success "Done" print_success "Done"
;; ;;