aboutsummaryrefslogtreecommitdiff
path: root/mk/scripts.mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-11 17:21:21 +0000
committerRoy Marples <roy@marples.name>2008-01-11 17:21:21 +0000
commitcd685410bd7d8f1893a9f585c784e43878e13913 (patch)
treea9e10856edc5134b1ddcad51d360cc73b0eb2fdc /mk/scripts.mk
parent28afeac09e15c9983021d7afb7af523f8f62c5fa (diff)
NetBSD doesn't include /lib in its link path, so we need to add it as an RPATH.
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}