summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.readme.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bsd.pkg.readme.mk')
-rw-r--r--mk/bsd.pkg.readme.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/mk/bsd.pkg.readme.mk b/mk/bsd.pkg.readme.mk
index 48d09c36d4e..62d352f526c 100644
--- a/mk/bsd.pkg.readme.mk
+++ b/mk/bsd.pkg.readme.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.readme.mk,v 1.3 2006/07/27 21:46:45 jlam Exp $
+# $NetBSD: bsd.pkg.readme.mk,v 1.4 2006/07/27 22:01:28 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and encapsulates the
# code to produce README.html files in each package directory.
@@ -84,10 +84,9 @@ run-depends-list:
.PHONY: build-depends-list
.if !target(build-depends-list)
build-depends-list:
- @for dir in `${RECURSIVE_MAKE} ${MAKEFLAGS} show-all-depends-dirs-excl`; \
- do \
- (cd ../../$$dir && \
- ${RECURSIVE_MAKE} ${MAKEFLAGS} package-name) \
+ @${_DEPENDS_WALK_CMD} ${PKGPATH} | \
+ while read dir; do \
+ ( cd ../../$$dir && ${RECURSIVE_MAKE} ${MAKEFLAGS} package-name) \
done
.endif