summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-08-02 08:35:51 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-08-02 08:35:51 +0000
commit8e4d16cb28ae5131448ca95e59e9025426195a29 (patch)
tree3d1d4ed24d600233f11a85746a0c32f4916df7ad
parentcc6a6ed4749dd4cc06857b7239a8dbb8098e4461 (diff)
downloadpw-darwin-8e4d16cb28ae5131448ca95e59e9025426195a29.tar.gz
pw-darwin-8e4d16cb28ae5131448ca95e59e9025426195a29.tar.zst
pw-darwin-8e4d16cb28ae5131448ca95e59e9025426195a29.zip
Convert traditional ${MK_TESTS} conditional idiom for including test
directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks
-rw-r--r--pw/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/pw/Makefile b/pw/Makefile
index f26c9de..bdb4384 100644
--- a/pw/Makefile
+++ b/pw/Makefile
@@ -12,8 +12,6 @@ LIBADD= crypt util sbuf
.include <src.opts.mk>
-.if ${MK_TESTS} != "no"
-SUBDIR+= tests
-.endif
+SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>