Makefile: clean should just remove ${OUTPUT_DIRS}
This commit is contained in:
parent
08b01444bb
commit
920b871f49
|
@ -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"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue