Skip to content

Commit

Permalink
When you type `make obj', make obj dirs in distrib whether or not you
Browse files Browse the repository at this point in the history
have MKOBJDIRS variable set.
  • Loading branch information
cjs committed Mar 8, 2000
1 parent a41cc73 commit 1702e77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.108 2000/02/29 21:54:03 erh Exp $
# $NetBSD: Makefile,v 1.109 2000/03/08 00:50:05 cjs 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
Expand Down Expand Up @@ -52,6 +52,9 @@ _J= -j${NBUILDJOBS}
# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW

SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share sys
.if make(obj)
SUBDIR+= distrib
.endif

includes-lib: includes-include includes-sys

Expand Down Expand Up @@ -110,7 +113,6 @@ build: buildmsg beforeinstall
.endif
.if ${MKOBJDIRS} != "no"
${MAKE} obj
(cd ${.CURDIR}/distrib && ${MAKE} obj)
.endif
.if empty(HAVE_GCC28)
.if defined(DESTDIR)
Expand Down

0 comments on commit 1702e77

Please sign in to comment.