aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/fstyp/Makefile
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
commit4b330699f819a81d8e34d471225143ffeb321855 (patch)
tree3794bbf32b858fa79c3e362a4b95adc8a7863010 /usr.sbin/fstyp/Makefile
parentcd155b56033ab2693464bdade23e2ccd623e9936 (diff)
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
Notes
Notes: svn path=/head/; revision=321912
Diffstat (limited to 'usr.sbin/fstyp/Makefile')
-rw-r--r--usr.sbin/fstyp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/fstyp/Makefile b/usr.sbin/fstyp/Makefile
index a86cb536b620..f852ff7ccb53 100644
--- a/usr.sbin/fstyp/Makefile
+++ b/usr.sbin/fstyp/Makefile
@@ -15,8 +15,8 @@ WARNS?= 2
.include <bsd.endian.mk>
-.if ${MK_TESTS} != "no" && ${TARGET_ENDIANNESS} == 1234
-SUBDIR+= tests
+.if ${TARGET_ENDIANNESS} == 1234
+SUBDIR.${MK_TESTS}+= tests
.endif
.if ${MK_ZFS} != "no"