From owner-freebsd-arch Sat Jun 8 18:19: 8 2002 Delivered-To: freebsd-arch@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id A6CFD37B405; Sat, 8 Jun 2002 18:19:05 -0700 (PDT) Received: from pool0052.cvx21-bradley.dialup.earthlink.net ([209.179.192.52] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17GrMB-0003sL-00; Sat, 08 Jun 2002 18:19:00 -0700 Message-ID: <3D02ACE0.9DAB0822@mindspring.com> Date: Sat, 08 Jun 2002 18:18:24 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Doug Barton Cc: Mike Barcroft , arch@FreeBSD.ORG Subject: Re: Standardized make options (or no doesn't always mean no) References: <20020608210159.B87326@espresso.q9media.com> <3D02AB11.F373AB4@FreeBSD.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Doug Barton wrote: > Mike Barcroft wrote: > > Is anyone planning to do something about the hugely confusing state of > > NO/NO_ options? I can never remember which options have an underscore > > after the NO, so I end up writing commands like > > `make kernel ... NO_KERNELCLEAN=true NOKERNELCLEAN=true'. It would > > very nice if we could standardize this and add some compatibility > > shims for historical spellings. > > In the past versions of this conversation, the general agreement is that > going forward we should probably standardize on underscores to seperate > words. So, NO_FOO rather than NOFOO. However, no_volunteer has come > forward to do the work you've described, so if you're volunteering.... > :) How about "FOO=false" and "FOO=true" and "NO_FOO: undefined variable"? This whole "NO" prefix thing on booleans is pretty silly... but I guess someone will end up posting in it's defense... after all: "Ain't no way someone won't not don't do it" If "Makefile"'s were English papers, I think we would all fail. Personally, I prefer explicit negation, e.g. "KERNELCLEAN=false" to existance negation by prefix value. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message