diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-27 22:01:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-27 22:01:28 +0000 |
commit | b5e83f7d360ae21f4b5be5f1c1c435333e548007 (patch) | |
tree | 57ba54554d3f5bbc918af6d24f1ff6e42ef84cb7 /mk/bsd.pkg.readme.mk | |
parent | c489860d62f36ac71be788965942d2b47c524285 (diff) | |
download | pkgsrc-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.mk | 9 |
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 |