aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-07-07 07:57:41 +0800
committerkris <kris@FreeBSD.org>2003-07-07 07:57:41 +0800
commit7e37e96ae155c86eeb9c048d5c9f156935cb2d08 (patch)
treeaff7ce35f3f4e0ce2f98d1203ab57f941fbf5f5c /Mk/bsd.port.subdir.mk
parentb8502bb8ebde7be9b077f7590397f933faa4abe9 (diff)
downloadfreebsd-ports-gnome-7e37e96ae155c86eeb9c048d5c9f156935cb2d08.tar.gz
freebsd-ports-gnome-7e37e96ae155c86eeb9c048d5c9f156935cb2d08.tar.zst
freebsd-ports-gnome-7e37e96ae155c86eeb9c048d5c9f156935cb2d08.zip
* Add 'maintainer' as a recursive target [1]
* Fix the subdirectory recursion [2] PR: 51985 [1] Submitted by: Mark Linimon <linimon@lonesome.com> [1], hoek [2]
Diffstat (limited to 'Mk/bsd.port.subdir.mk')
-rw-r--r--Mk/bsd.port.subdir.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk
index 2645e0f501d9..7c27c594f5d1 100644
--- a/Mk/bsd.port.subdir.mk
+++ b/Mk/bsd.port.subdir.mk
@@ -32,7 +32,8 @@
# clean-for-cdrom-list, clean-restricted-list,
# configure, deinstall,
# depend, depends, describe, extract, fetch, fetch-list, ignorelist,
-# install, makesum, package, readmes, realinstall, reinstall, tags
+# install, maintainer, makesum, package, readmes, realinstall, reinstall,
+# tags
#
# search:
# Search for ports using either 'make search key=<keyword>'
@@ -89,6 +90,7 @@ TARGETS+= fetch
TARGETS+= fetch-list
TARGETS+= ignorelist
TARGETS+= makesum
+TARGETS+= maintainer
TARGETS+= package
TARGETS+= realinstall
TARGETS+= reinstall
@@ -133,7 +135,9 @@ _SUBDIRUSE: .USE
DIRPRFX=${DIRPRFX}$$edir/; \
fi
-${SUBDIR}:: ${SUBDIR:S/$/.all/}
+.for _subdir in ${SUBDIR}
+${_subdir}:: ${_subdir:S/$/.all/}
+.endfor
.endif