summaryrefslogtreecommitdiffstats
path: root/bin/pkill/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-03-19 12:46:04 +0000
committerjmmv <jmmv@FreeBSD.org>2014-03-19 12:46:04 +0000
commit6347abb8452f9f60737489ce782cf23fcd90354c (patch)
treebf59b42476e1a68940d50c9e4eef6e407f97449b /bin/pkill/Makefile
parent26e1531d4b6d8a093b5044725d9af700963f7ca5 (diff)
downloadFreeBSD-src-6347abb8452f9f60737489ce782cf23fcd90354c.zip
FreeBSD-src-6347abb8452f9f60737489ce782cf23fcd90354c.tar.gz
Migrate tools/regression/usr.bin/pkill to the new tests layout.
Interestingly, the pkill tool lives in bin, not usr.bin. Haven't bothered to check if this is because the tool moved or because the tests were originally added in the wrong place.
Diffstat (limited to 'bin/pkill/Makefile')
-rw-r--r--bin/pkill/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/pkill/Makefile b/bin/pkill/Makefile
index e98ed2c..bb4d865 100644
--- a/bin/pkill/Makefile
+++ b/bin/pkill/Makefile
@@ -1,6 +1,8 @@
# $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= pkill
DPADD= ${LIBKVM}
@@ -17,4 +19,8 @@ MLINKS= pkill.1 pgrep.1
SYMLINKS= ${BINDIR}/pkill /usr/bin/pkill
SYMLINKS+= ${BINDIR}/pgrep /usr/bin/pgrep
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud