From owner-freebsd-hackers Mon Sep 23 23:34:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE97137B401 for ; Mon, 23 Sep 2002 23:34:50 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 8D90943E77 for ; Mon, 23 Sep 2002 23:34:49 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 19055 invoked from network); 24 Sep 2002 06:34:47 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 24 Sep 2002 06:34:47 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id B77B62FDAB2; Tue, 24 Sep 2002 08:34:39 +0200 (CEST) Date: Tue, 24 Sep 2002 08:34:39 +0200 From: Roman Neuhauser To: Chuck Robey Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: two make questions Message-ID: <20020924063439.GJ30361@freepuppy.bellavista.cz> Mail-Followup-To: Chuck Robey , freebsd-hackers@FreeBSD.ORG References: <20020923143523.GA30361@freepuppy.bellavista.cz> <20020923130006.N332-100000@april.chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020923130006.N332-100000@april.chuckr.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # chuckr@chuckr.org / 2002-09-23 13:08:04 -0400: > On Mon, 23 Sep 2002, Roman Neuhauser wrote: > > Now, saying "don't do it" is nice, but I'd like to know why. > > Why doesn't this work? Also, what documentation (besides the > > source) is there that covers variable scopes? See the second > > message for the problem description. > > Wish I could give you some satisfaction .... because "I've been there, > done that". Unfortunately, you aren't going to find it. If you > decide that the only thing that you can do is fix the docs, you won't > even succeed there, because it will only raise a huge volume of > complaints (seemingly endless nitpickers) all giving their own take on > it, even though they won't fix it themselves. quite common. :| i think i might even try it some day, provided my better understanding of make i hope to gain won't cause me to lose motivation. > The only book there is on make is pretty pissed-poor, the make book > from O'Reilly. I've been considering writing a book on the 3 main > flavors of make for a while now .... I'm not convinced yet that > there's a market for it. I'm pretty sure now, with all the horrible > make projects I've undertaken, I could do it. i say go for it. :) > The odd behavior of variables is only one item from a whole list of > them. Go take a look at what use: means, if you want a headache. Or, > how about the behavior of "include", which *does* work, even though > the man page says that only ".include" will work ("include" is > compatible with both BSD make and GNU make, an important point.) can't this be fixed? i mean, perfect wording is important, but complete coverage of features is even more, even if not spelled out in the best way, no? :) > When you don't have any problem with a file like bsd.port.mk, then > you'll be able to claim to know make. yeah, figured that much. the post to hackers@ has really paid off, i already learnt quite a few things about make. -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 8:21AM up 6 days, 15:36, 29 users, load averages: 0.00, 0.02, 0.00 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message