From owner-cvs-user Tue Aug 19 03:46:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA27164 for cvs-user-outgoing; Tue, 19 Aug 1997 03:46:17 -0700 (PDT) Received: from spinner.dialix.com.au (spinner.dialix.com.au [192.203.228.67]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA27148; Tue, 19 Aug 1997 03:45:59 -0700 (PDT) Received: from spinner.dialix.com.au (localhost.dialix.com.au [127.0.0.1]) by spinner.dialix.com.au with ESMTP id SAA12115; Tue, 19 Aug 1997 18:45:39 +0800 (WST) Message-Id: <199708191045.SAA12115@spinner.dialix.com.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bruce Evans cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-user@FreeBSD.ORG, peter@FreeBSD.ORG Subject: Re: cvs commit: src Makefile In-reply-to: Your message of "Tue, 19 Aug 1997 20:03:53 +1000." <199708191003.UAA05838@godzilla.zeta.org.au> Date: Tue, 19 Aug 1997 18:45:38 +0800 From: Peter Wemm Sender: owner-cvs-user@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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