From owner-freebsd-bugs Tue Aug 26 08:00:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA15006 for bugs-outgoing; Tue, 26 Aug 1997 08:00:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA14950; Tue, 26 Aug 1997 08:00:01 -0700 (PDT) Date: Tue, 26 Aug 1997 08:00:01 -0700 (PDT) Message-Id: <199708261500.IAA14950@hub.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: misc/4395: if exists(secure) in /usr/src/Makefile is bogus Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR misc/4395; it has been noted by GNATS. From: Bruce Evans To: bde@zeta.org.au, j@ida.interface-business.de Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: misc/4395: if exists(secure) in /usr/src/Makefile is bogus Date: Wed, 27 Aug 1997 00:55:39 +1000 >> >If /usr/obj/secure does exist, but /usr/src/secure doesn't, the above >> >construct wrongly causes descending into the `secure' subdirectory. >> >> How would /usr/obj/secure (actually /usr/obj/usr/src/secure) exist? > >By a previous `make' where /usr/src/secure did exist. > >I've posted this on behalf of a friend who's been hit by it for the >second time... I believe it's bogus to check for `exist(secure)' in >the /usr/obj hierarchy, that's why i've made it a PR. I forgot that the whole tree for /usr/obj is now usually created. The check wasn't bogus when obj directories were subdirectories. Then NOOBJ or not including anything except bsd.subdir.mk (as in src/Makefile) stopped separate obj directories from being created. Some other Makefiles (e.g., share/syscons/fonts) still depend on this behaviour and get it because they are in leaf directories. Bruce