diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-08-02 08:35:51 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-08-02 08:35:51 +0000 |
commit | 4b330699f819a81d8e34d471225143ffeb321855 (patch) | |
tree | 3794bbf32b858fa79c3e362a4b95adc8a7863010 /usr.bin/cpio | |
parent | cd155b56033ab2693464bdade23e2ccd623e9936 (diff) | |
download | src-4b330699f819a81d8e34d471225143ffeb321855.tar.gz src-4b330699f819a81d8e34d471225143ffeb321855.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
Notes
Notes:
svn path=/head/; revision=321912
Diffstat (limited to 'usr.bin/cpio')
-rw-r--r-- | usr.bin/cpio/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/cpio/Makefile b/usr.bin/cpio/Makefile index 2d5e5bd8f8b1..46cf06e871c1 100644 --- a/usr.bin/cpio/Makefile +++ b/usr.bin/cpio/Makefile @@ -32,8 +32,6 @@ CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const SYMLINKS=bsdcpio ${BINDIR}/cpio MLINKS= bsdcpio.1 cpio.1 -.if ${MK_TESTS} != "no" -SUBDIR+= tests -.endif +SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> |