summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc16
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index d7d112a..c040678 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1051,6 +1051,8 @@ par-${__target}: ${SUBDIR:S/$/.${__target}__D/}
.include <bsd.subdir.mk>
+.if make(delete-old) || make(delete-old-libs) || make(check-old)
+
#
# check for / delete old files section
#
@@ -1064,6 +1066,8 @@ specific library."
.if !defined(BATCH_DELETE_OLD_FILES)
RM_I=-i
+.else
+RM_I=-v
.endif
delete-old-files:
@@ -1142,3 +1146,5 @@ check-old: check-old-files check-old-libs check-old-dirs
@echo "To remove old files and directories run '${MAKE} delete-old'."
@echo "To remove old libraries run '${MAKE} delete-old-libs'."
+.endif
+
OpenPOWER on IntegriCloud