summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2016-02-18 02:37:26 +0000
committerDamien Miller <djm@cvs.openbsd.org>2016-02-18 02:37:26 +0000
commitb056957952d1db1b77601d42b2697751f3ac472a (patch)
tree255024370fd0ff1505a559b12eb1678a32f5016b /regress/usr.bin/ssh
parent6dee9b2a2308b5ab917d1aff08a7ad9a3f08da59 (diff)
bsd.regress.mk doesn't automatically add "make clean" targets for
$SUBDIRS so do it explicitly
Diffstat (limited to 'regress/usr.bin/ssh')
-rw-r--r--regress/usr.bin/ssh/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/Makefile b/regress/usr.bin/ssh/Makefile
index d7e30582f0e..9b442ee2b39 100644
--- a/regress/usr.bin/ssh/Makefile
+++ b/regress/usr.bin/ssh/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.82 2015/09/24 06:16:53 djm Exp $
+# $OpenBSD: Makefile,v 1.83 2016/02/18 02:37:25 djm Exp $
.ifndef SKIP_UNIT
SUBDIR= unittests
@@ -191,7 +191,13 @@ INTEROP_TARGETS+=t-${t}
# Not run by default
interop: ${INTEROP_TARGETS}
-clean:
+.for s in ${SUBDIR}
+CLEAN_SUBDIR+=c-${s}
+c-${s}:
+ ${MAKE} -C ${.CURDIR}/${s} clean
+.endfor
+
+clean: ${CLEAN_SUBDIR}
rm -f ${CLEANFILES}
test -z "${SUDO}" || ${SUDO} rm -f ${SUDO_CLEAN}
rm -rf .putty