From owner-freebsd-hackers Wed Oct 8 05:52:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA15619 for hackers-outgoing; Wed, 8 Oct 1997 05:52:05 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from silvia.HIP.Berkeley.EDU (ala-ca9-32.ix.netcom.com [207.93.143.96]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA15602 for ; Wed, 8 Oct 1997 05:51:58 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.7/8.6.9) id FAA17812; Wed, 8 Oct 1997 05:50:35 -0700 (PDT) Date: Wed, 8 Oct 1997 05:50:35 -0700 (PDT) Message-Id: <199710081250.FAA17812@silvia.HIP.Berkeley.EDU> To: aflundi@lundin.abq.nm.us CC: hackers@FreeBSD.ORG In-reply-to: <199710081157.FAA01179@lundin.abq.nm.us.> (message from Alan Lundin on Wed, 8 Oct 1997 05:57:38 -0600 (MDT)) Subject: Re: group assignments from make world. From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * I agree with Satoshi, except that it could, of * course, be extended beyond the bonds of /etc * (/usr/include, for instance, or "what /usr/sbin/config"). Actually, everything outside /etc is updated automatically (that was the purpose of the "world" target). And config is needed only for kernel build, which is not part of "world" anyway. * If the first thing that "make world" does is run a * (or a series of) pre-world test script(s), then * people will know right away if it'll bomb for * the things that can be tested for. Perhaps the * script even could put out a message to shame people * into reading the appropriate doc (saving Jordan * from preforming the evil deed). For example: Yes. Note that we need a little intelligence on exactly when to do this testing, as the user may be doing a "buildworld" on one machine with the intention todo "installworld" on another later. But we can't just put it at the beginning of "installworld" if we want to be helpful because it will be the same old "I typed make world and went to sleep, I woke up and the stupid !$(*!^%$!( make world died in the middle" story. Something like: === world: make preworldtest make buildworld make installworld JUSTBUILTWORLD=t installworld: .if !defined(JUSTBUILTWORLD) make preworldtest .endif preworldtest: do test, warn, bark, exit if necessary === Satoshi