aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/cmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cmp/Makefile')
-rw-r--r--usr.bin/cmp/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/cmp/Makefile b/usr.bin/cmp/Makefile
index 5b9fdfc23a2ae..0f515f4af5f5f 100644
--- a/usr.bin/cmp/Makefile
+++ b/usr.bin/cmp/Makefile
@@ -6,8 +6,6 @@
PROG= cmp
SRCS= cmp.c link.c misc.c regular.c special.c
-.if ${MK_TESTS} != "no"
-SUBDIR+= tests
-.endif
+SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>