]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Convert traditional ${MK_TESTS} conditional idiom for including test
authorEnji Cooper <ngie@FreeBSD.org>
Wed, 2 Aug 2017 08:35:51 +0000 (08:35 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Wed, 2 Aug 2017 08:35:51 +0000 (08:35 +0000)
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

pw/Makefile

index f26c9de540e91742ba45ddf7c0723cd6bda5da15..bdb4384d1cc5d28ac1965ecaf6c1426571576cb3 100644 (file)
@@ -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>