aboutsummaryrefslogtreecommitdiff
path: root/mk/scripts.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/scripts.mk')
-rw-r--r--mk/scripts.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/scripts.mk b/mk/scripts.mk
index ac231cef..35815b57 100644
--- a/mk/scripts.mk
+++ b/mk/scripts.mk
@@ -29,5 +29,9 @@ realinstall: ${BIN} ${CONF} ${CONF_APPEND}
install: realinstall ${INSTALLAFTER}
+# A lot of scripts don't have anything to clean
+# Also, some rm implentation require a file argument regardless of error
+# so we ensure that it has a bogus argument
+CLEANFILES?= .bogus
clean:
rm -f ${OBJS} ${CLEANFILES}