Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2018 21:09:21 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335306 - head/usr.sbin/bsdconfig
Message-ID:  <201806172109.w5HL9Loo037576@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Sun Jun 17 21:09:21 2018
New Revision: 335306
URL: https://svnweb.freebsd.org/changeset/base/335306

Log:
  bsdconfig: Make examples optional
  
  PR:		bin/228485
  Submitted by:	Dmitry Wagin <dmitry.wagin@ya.ru>
  Reported by:	Dmitry Wagin <dmitry.wagin@ya.ru>
  MFC after:	1 week
  Sponsored by:	Smule, Inc.

Modified:
  head/usr.sbin/bsdconfig/Makefile

Modified: head/usr.sbin/bsdconfig/Makefile
==============================================================================
--- head/usr.sbin/bsdconfig/Makefile	Sun Jun 17 20:45:48 2018	(r335305)
+++ head/usr.sbin/bsdconfig/Makefile	Sun Jun 17 21:09:21 2018	(r335306)
@@ -1,10 +1,11 @@
 # $FreeBSD$
 
+.include <src.opts.mk>
+
 SUBDIR=	console \
 	diskmgmt \
 	docsinstall \
 	dot \
-	examples \
 	include \
 	includes \
 	mouse \
@@ -17,6 +18,10 @@ SUBDIR=	console \
 	timezone \
 	ttys \
 	usermgmt
+
+.if ${MK_EXAMPLES} != "no"
+SUBDIR+= examples
+.endif
 
 FILESDIR=	${LIBEXECDIR}/bsdconfig
 FILES=		USAGE



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