Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2018 15:11:14 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r335488 - stable/11/usr.sbin/bsdconfig
Message-ID:  <201806211511.w5LFBEoa064794@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Thu Jun 21 15:11:14 2018
New Revision: 335488
URL: https://svnweb.freebsd.org/changeset/base/335488

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

Modified:
  stable/11/usr.sbin/bsdconfig/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/bsdconfig/Makefile
==============================================================================
--- stable/11/usr.sbin/bsdconfig/Makefile	Thu Jun 21 15:02:17 2018	(r335487)
+++ stable/11/usr.sbin/bsdconfig/Makefile	Thu Jun 21 15:11:14 2018	(r335488)
@@ -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?201806211511.w5LFBEoa064794>