diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/lib.mk | 2 | ||||
-rw-r--r-- | mk/scripts.mk | 2 | ||||
-rw-r--r-- | mk/subdir.mk | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -47,6 +47,8 @@ install: all ${INSTALL} -d ${DESTDIR}${INCDIR} for x in ${INCS}; do ${INSTALL} -m ${INCMODE} $$x ${DESTDIR}${INCDIR}; done +check test:: + clean: rm -f ${OBJS} ${SOBJS} ${_LIBS} ${SHLIB_LINK} ${CLEANFILES} diff --git a/mk/scripts.mk b/mk/scripts.mk index 5404e952..3021c92c 100644 --- a/mk/scripts.mk +++ b/mk/scripts.mk @@ -42,6 +42,8 @@ realinstall: ${BIN} ${CONF} ${CONF_APPEND} install: all realinstall ${INSTALLAFTER} +check test:: + # 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 diff --git a/mk/subdir.mk b/mk/subdir.mk index ca54176e..fcb5cf22 100644 --- a/mk/subdir.mk +++ b/mk/subdir.mk @@ -36,6 +36,8 @@ clean: realinstall: ${_SUBDIR} install: realinstall ${INSTALLAFTER} +check test:: + ${_SUBDIR} depend: ${_SUBDIR} gitignore: |