depend-cleanup.sh: Make the output message more precise

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 73db11a4d1)
This commit is contained in:
Mark Johnston 2021-12-07 13:01:05 -05:00
parent 18ae2f6f4b
commit b1ecdb70c9

View file

@ -30,7 +30,7 @@ clean_dep()
{
if [ -e "$OBJTOP"/$1/.depend.$2.pico ] && \
egrep -qw "$2\.$3" "$OBJTOP"/$1/.depend.$2.pico; then \
echo "Removing stale dependencies for $2.$3"; \
echo "Removing stale dependencies and objects for $2.$3"; \
rm -f \
"$OBJTOP"/$1/.depend.$2.* \
"$OBJTOP"/$1/$2.*o \