aboutsummaryrefslogtreecommitdiff
path: root/lib/atf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/atf/Makefile')
-rw-r--r--lib/atf/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/atf/Makefile b/lib/atf/Makefile
index 481bce97f13e..baadf535b424 100644
--- a/lib/atf/Makefile
+++ b/lib/atf/Makefile
@@ -29,10 +29,7 @@
SUBDIR= libatf-c \
libatf-c++ \
- ${_tests}
-.if ${MK_TESTS} != "no"
-_tests= tests
-.endif
+SUBDIR.${MK_TESTS}+= tests
.include <bsd.subdir.mk>