aboutsummaryrefslogtreecommitdiff
path: root/bin/pkill/Makefile
diff options
context:
space:
mode:
authorJulio Merino <jmmv@FreeBSD.org>2014-03-19 12:46:04 +0000
committerJulio Merino <jmmv@FreeBSD.org>2014-03-19 12:46:04 +0000
commit65c3cfc1aad4e0570ac0f3f65ff5d7904c3ea3a5 (patch)
treebf59b42476e1a68940d50c9e4eef6e407f97449b /bin/pkill/Makefile
parent3198603edd0a2b921e240b515f9d17efaf91101f (diff)
downloadsrc-65c3cfc1aad4e0570ac0f3f65ff5d7904c3ea3a5.tar.gz
src-65c3cfc1aad4e0570ac0f3f65ff5d7904c3ea3a5.zip
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.
Notes
Notes: svn path=/head/; revision=263351
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 e98ed2c4e522..bb4d865b7ae2 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>