summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.subdir.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index e1b1276..8fab656 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -16,7 +16,8 @@
#
# SUBDIR A list of subdirectories that should be built as well.
# Each of the targets will execute the same target in the
-# subdirectories.
+# subdirectories. SUBDIR.yes is automatically appeneded
+# to this list.
#
# +++ targets +++
#
@@ -43,6 +44,11 @@ _SUBDIR:
.endif
.if !target(_SUBDIR)
+.if defined(SUBDIR)
+SUBDIR:=${SUBDIR} ${SUBDIR.yes}
+SUBDIR:=${SUBDIR:u}
+.endif
+
DISTRIBUTION?= base
.if !target(distribute)
distribute: .MAKE
OpenPOWER on IntegriCloud