aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/kyua
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-12-17 17:06:57 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-12-17 17:06:57 +0000
commit395cb8fbc072a994bbc2c0059bd77168d20df522 (patch)
treed8ee67b5bc12cba66b8ac72ae18d0f2471612282 /usr.bin/kyua
parent4d6047edb675e52b8fad57135ab3ded8e66d0dac (diff)
downloadsrc-395cb8fbc072a994bbc2c0059bd77168d20df522.tar.gz
src-395cb8fbc072a994bbc2c0059bd77168d20df522.zip
Notes
Diffstat (limited to 'usr.bin/kyua')
-rw-r--r--usr.bin/kyua/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/kyua/Makefile b/usr.bin/kyua/Makefile
index a6401e1220a3..2c7ae11c7408 100644
--- a/usr.bin/kyua/Makefile
+++ b/usr.bin/kyua/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
.include "${SRCTOP}/lib/kyua/Makefile.kyua"
.PATH: ${KYUA_SRCDIR}
@@ -28,7 +30,11 @@ CFLAGS+= -I${KYUA_SRCDIR}
# kyua uses auto_ptr
CFLAGS+= -Wno-deprecated-declarations
-FILESGROUPS= DOCS EXAMPLES MISC STORE
+FILESGROUPS= DOCS MISC STORE
+
+.if ${MK_EXAMPLES} != "no"
+FILESGROUPS+= EXAMPLES
+.endif
# Install a minimal default config that uses the 'tests' user.
# The examples config is not appropriate for general use.