The top level has an objdir now, so make sure to cd to ${.CURDIR} when
recursing in-place.
This commit is contained in:
parent
e5a47b8cfa
commit
7e7d9dbd76
8
Makefile
8
Makefile
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.152 2001/11/12 23:16:17 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.153 2001/11/13 03:17:12 tv Exp $
|
||||
|
||||
# This is the top-level makefile for building NetBSD. For an outline of
|
||||
# how to build a snapshot or release, as well as other release engineering
|
||||
|
@ -133,7 +133,7 @@ build:
|
|||
.else
|
||||
@echo -n "Build started at: " && date
|
||||
.for tgt in ${BUILDTARGETS}
|
||||
${MAKE} ${_J} ${tgt}
|
||||
(cd ${.CURDIR} && ${MAKE} ${_J} ${tgt})
|
||||
.endfor
|
||||
@echo -n "Build finished at: " && date
|
||||
.endif
|
||||
|
@ -160,8 +160,8 @@ do-${dir:S/\//-/}:
|
|||
.endfor
|
||||
|
||||
do-build:
|
||||
${MAKE} ${_J} dependall
|
||||
${MAKE} ${_J} install
|
||||
(cd ${.CURDIR} && ${MAKE} ${_J} dependall)
|
||||
(cd ${.CURDIR} && ${MAKE} ${_J} install)
|
||||
|
||||
# Speedup stubs for some subtrees that don't need to run these rules.
|
||||
# (Tells <bsd.subdir.mk> not to recurse for them.)
|
||||
|
|
Loading…
Reference in New Issue