Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2020 17:06:58 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r368722 - head/usr.bin/kyua
Message-ID:  <202012171706.0BHH6wRw073123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012171706.0BHH6wRw073123>