From owner-freebsd-current Tue Dec 26 07:31:37 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA06300 for current-outgoing; Tue, 26 Dec 1995 07:31:37 -0800 (PST) Received: from twirl.io.org (root@twirl.io.org [198.133.36.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA06280 for ; Tue, 26 Dec 1995 07:31:19 -0800 (PST) Received: from else (root@else.net [204.92.4.245]) by twirl.io.org (8.6.9/8.6.9) with SMTP id KAA21698; Tue, 26 Dec 1995 10:28:02 -0500 Received: by else (Smail3.1.29.1 #3) id m0tUbJ6-000MF2C; Tue, 26 Dec 95 10:28 EST Date: Tue, 26 Dec 1995 10:28:49 -0500 (EST) From: James FitzGibbon To: "Rodney W. Grimes" cc: current@freebsd.org Subject: Re: Suggestion for target 'includes' In-Reply-To: <199512260616.WAA17601@GndRsh.aac.dev.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Mon, 25 Dec 1995, Rodney W. Grimes wrote: > > Since mtree is already being called in a non-destructive manner, why not > > move it out of the .if-.endif clause and make it run whether CLOBBER is > > defined or not? That would save a build from failing halfway through for > > stupid reasons. > > This should have already occured when the ``make hierarchy'' was run as > that includes an mtree run for /usr/include, see src/etc/Makefile distrib-dirs:. Ah, so it does. Well, that still leaves the problem of a file existing where mtree wants to make a directory. What about a modification to mtree to have it fail if a file already exists and it's type doesn't match what is listed in the distfile? That way if /usr/include/readline existed as a file and mtree wanted to create a directory called /usr/include/readline, it would by default fail, or with a switch delete the file and create the directory. Comments? j.