Subject: Re: bin/2932:
To: Curt Sampson <cjs@portal.ca>
From: David Brownlee <abs@anim.dreamworks.com>
List: current-users
Date: 09/29/1997 10:50:25
> On Sun, 28 Sep 1997, David Brownlee wrote:
> 
> > 	How about having a 'NOBUILD' variable in /etc/mk.conf...
> > ...
> > + NOBUILD!=if echo " ${NOBUILD} " | egrep -q " ${PROG} " ; \
> > +     then echo YES ; else echo NO ; fi
> 
> The problem with this is that it's going to spawn a shell in every
> subdirectory. When you've just done an update and need to rebuild
> the changed programs, this can turn a 3 hour job on a Sun 3 into
> a six hour job.
> 
	Only if you set 'NOBUILD' :) Those who do not set it pay no
	extra cost. Hmm, another option would be checking if
	'${NOBUILD_${PROG}}' were set, which could be done without
	the cost of a subshell...

		David/abs

	-- Whom computers would destroy, they must first drive mad. --