summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.readme.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-27 22:01:28 +0000
committerjlam <jlam@pkgsrc.org>2006-07-27 22:01:28 +0000
commitb5e83f7d360ae21f4b5be5f1c1c435333e548007 (patch)
tree57ba54554d3f5bbc918af6d24f1ff6e42ef84cb7 /mk/bsd.pkg.readme.mk
parentc489860d62f36ac71be788965942d2b47c524285 (diff)
downloadpkgsrc-b5e83f7d360ae21f4b5be5f1c1c435333e548007.tar.gz
Remove all uses of the following targets from pkgsrc:
show-all-depends-dirs show-all-depends-dirs-excl Replace them with calls to pkgsrc/mk/scripts/depends-depth-first.awk which does the same thing but without the extra overhead of invoking a recursive make.
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