From owner-freebsd-current@FreeBSD.ORG Wed Aug 11 11:52:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBBD016A4CE; Wed, 11 Aug 2004 11:52:21 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-164-131.dclient.hispeed.ch [80.219.164.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA34543D48; Wed, 11 Aug 2004 11:52:19 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:a483:0:20e:2eff:fe06:2376]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i7BBq2h44280 verified NO); Wed, 11 Aug 2004 13:52:13 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i7BBq0l44279; Wed, 11 Aug 2004 13:52:01 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Wed, 11 Aug 2004 13:52:01 +0200 (CEST) Message-Id: <200408111152.i7BBq0l44279@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: Ruslan Ermilov References: <20040810231044.GA70020@xor.obsecurity.org> <20040811061202.GA80234@ip.net.ua> <20040811065912.GA95263@xor.obsecurity.org> <20040811080350.GK80234@ip.net.ua> <200408110916.i7B9GTj43770@Mail.NOSPAM.DynDNS.dK> <20040811101100.GB84908@ip.net.ua><20040811111803.GJ84908@ip.net.ua> X-Mailman-Approved-At: Wed, 11 Aug 2004 12:26:24 +0000 cc: current@freebsd.org Subject: Re: DISTDIR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 11:52:21 -0000 > OTOH, if you want some knob for > /etc/make.conf to control what MAKEOBJDIRPREFIX will be set > to during buildworld and related targets, this should be > possible easily, though I personally don't see much point > in yet another variable. I believe this would make you (or whoever comes up with it) immensely popular, judging from the responses over the past hours. The advantage is that things would still ``work'' if one were to forget the commandline -- `make buildworld' would just do what the user wants. Like if I mis-type `make -DNOKERNEL_CLEAN buildkernel' on a slow machine. And then pull my hair when it takes hours to get to the point where I was. How many times have I typed `env MAKROBJDIRPREFIX=foo' in the dark and cursed myself when I realized what's wrong. > > > DISTDIR is only used by "make distribute", and the latter > > Ah, that I had been using `make distribute' or similar in > > order to populate DESTDIR/etc after a `make installworld', > > which is probably not what I should have been doing. (After > The correct spelling would be "make distrib-dirs && make > distribution" while in /usr/src/etc, but it does not use > DISTDIR either. "make distibute" while in /usr/src/etc > uses DISTDIR, but it should not be called by the end user, This is what I noticed, not knowing which was right, when I was testing to see what worked. Anyway, then I did the `make distribution' with success -- I believe the `distrib-dirs' step was part of the `installworld'. If not, I'll be doing it all again next buildworld, just for practice... First I tried the `SUBDIR_OVERRIDE' or whatever you mentioned earlier as part of `build everything' for a failed build in the top-level src directory. Like I say, I didn't know what to do so I was trying out different things in hope of getting something right, particularly as not everything works in the subdirectories as in the top-level directory. Thanks for the clarification, and straightening everything up. barry bouwsma