aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/Makefile')
-rw-r--r--bin/sh/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 65856de36491..62a74f80f79c 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -64,8 +64,7 @@ syntax.c syntax.h: mksyntax
token.h: mktokens
sh ${.CURDIR}/mktokens
-.if ${MK_TESTS} != "no"
-SUBDIR+= tests
-.endif
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>