diff options
author | jlam <jlam> | 2006-07-27 21:46:45 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-07-27 21:46:45 +0000 |
commit | 86dd146d0461e886469ca2f12d908f4e232b927b (patch) | |
tree | cfcc9913180425eb49a1e2c5c65e2e2044d9a6ef /mk/bsd.pkg.clean.mk | |
parent | 199b6a67be8ce2a265b080a371a1ea27e462767c (diff) | |
download | pkgsrc-86dd146d0461e886469ca2f12d908f4e232b927b.tar.gz |
Whenever we invoke a recursive make, we need to ensure that the proper
environment ${PKGSRC_MAKE_ENV} is also passed along. Create a
convenience variable RECURSIVE_MAKE that does exactly this and that
can be used in place of MAKE when invoking make recursively.
Use RECURSIVE_MAKE everywhere in pkgsrc/mk that we invoke make
recursively.
Diffstat (limited to 'mk/bsd.pkg.clean.mk')
-rw-r--r-- | mk/bsd.pkg.clean.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.clean.mk b/mk/bsd.pkg.clean.mk index 738061172fe..7c9e30665a0 100644 --- a/mk/bsd.pkg.clean.mk +++ b/mk/bsd.pkg.clean.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.clean.mk,v 1.5 2006/07/20 15:42:04 jlam Exp $ +# $NetBSD: bsd.pkg.clean.mk,v 1.6 2006/07/27 21:46:45 jlam Exp $ # # This Makefile fragment is included to bsd.pkg.mk and defines the # relevant variables and targets for the "clean" phase. @@ -33,7 +33,7 @@ clean-depends: ${_DEPENDS_WALK_CMD} ${PKGPATH} | \ while read dir; do \ cd ${.CURDIR}/../../$$dir && \ - ${MAKE} ${MAKEFLAGS} CLEANDEPENDS=no clean; \ + ${RECURSIVE_MAKE} ${MAKEFLAGS} CLEANDEPENDS=no clean; \ done .PHONY: pre-clean |