svn commit: r335306 - head/usr.sbin/bsdconfig
Devin Teske
dteske at FreeBSD.org
Sun Jun 17 21:09:22 UTC 2018
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 at ya.ru>
Reported by: Dmitry Wagin <dmitry.wagin at 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
More information about the svn-src-head
mailing list