svn commit: r368722 - head/usr.bin/kyua
Emmanuel Vadot
manu at FreeBSD.org
Thu Dec 17 17:06:58 UTC 2020
Author: manu
Date: Thu Dec 17 17:06:57 2020
New Revision: 368722
URL: https://svnweb.freebsd.org/changeset/base/368722
Log:
kyua: Only install examples if requested
Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D27638
Modified:
head/usr.bin/kyua/Makefile
Modified: head/usr.bin/kyua/Makefile
==============================================================================
--- head/usr.bin/kyua/Makefile Thu Dec 17 17:02:09 2020 (r368721)
+++ head/usr.bin/kyua/Makefile Thu Dec 17 17:06:57 2020 (r368722)
@@ -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.
More information about the svn-src-head
mailing list