summaryrefslogtreecommitdiff
path: root/usr.bin
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
parent4d6047edb675e52b8fad57135ab3ded8e66d0dac (diff)
downloadsrc-test-395cb8fbc072a994bbc2c0059bd77168d20df522.tar.gz
src-test-395cb8fbc072a994bbc2c0059bd77168d20df522.zip
kyua: Only install examples if requested
Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D27638
Notes
Notes: svn path=/head/; revision=368722
Diffstat (limited to 'usr.bin')
-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 a6401e1220a39..2c7ae11c7408b 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.