Subject: Re: Proposal EXCLUDE_SUBDIRS
To: Greywolf <greywolf@starwolf.com>
From: Frederick Bruckman <fb@enteract.com>
List: tech-misc
Date: 08/24/2000 13:38:12
On Thu, 24 Aug 2000, Greywolf wrote:

> I just read the one about excluding sendmail and amd from a build if
> DESTDIR is not defined, and that's got me concerned.
> 
> I'm one of those foolhardy people who builds things in place (and, by
> and large, it just works); do I need to set DESTDIR=/ in order to
> be sure these are built?

Absolutely not. The intention is that only the user sets this in his
own /etc/mk.conf. Having it hinge on DESTDIR is just a suggestion,
from my point of view as a release builder, to permit a "stripped
down" build machine that still puts everything in the release.

It makes no sense to define this by any makefile in the tree. There,
you would just make SUBDIR+= conditional on something.