kyua: Only install examples if requested

Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D27638
This commit is contained in:
Emmanuel Vadot 2020-12-17 17:06:57 +00:00
parent 4d6047edb6
commit 395cb8fbc0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368722

View File

@ -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.