Date: Tue, 19 Aug 1997 18:45:38 +0800 From: Peter Wemm <peter@spinner.dialix.com.au> To: Bruce Evans <bde@zeta.org.au> Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-user@FreeBSD.ORG, peter@FreeBSD.ORG Subject: Re: cvs commit: src Makefile Message-ID: <199708191045.SAA12115@spinner.dialix.com.au> In-Reply-To: Your message of "Tue, 19 Aug 1997 20:03:53 %2B1000." <199708191003.UAA05838@godzilla.zeta.org.au>
index | next in thread | previous in thread | raw e-mail
Bruce Evans wrote:
> >peter 1997/08/17 23:54:18 PDT
> >
> > Modified files:
> > . Makefile
> > Log:
> > Pass command line args to 'buildworld' and 'installworld' etc. Otherwise
> > 'make -DNOCLEAN world' is completely ignored.
>
> Erm, the args are already passed in ${.MAKEFLAGS} (although not on the
> command line). Any difference between the processing of the args in
> the command line and the args in ${.MAKEFLAGS} is a bug somewhere else.
Yes. 'make -DNOCLEAN world' works differently to 'make NOCLEAN=foo
world'. The -D version is not inherited while the second form is. Our
src/Makefile suggests the -D method. I didn't figure this out until after
the commit. Yes, it's a !^@#!^@# annoying make bug. There are some other
flags that need to be inherited as well, for example -j and -B (or
whatever).
> Putting ${.MAKEFLAGS} in the command line for `most' and `installmost'
> is also bogus.
Yes, and it contributes to the confusion too....
> Bruce
>
Cheers,
-Peter
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708191045.SAA12115>
