Date: Tue, 26 Dec 1995 10:28:49 -0500 (EST) From: James FitzGibbon <james@else.net> To: "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com> Cc: current@freebsd.org Subject: Re: Suggestion for target 'includes' Message-ID: <Pine.LNX.3.91.951226102327.5934A-100000@else.net> In-Reply-To: <199512260616.WAA17601@GndRsh.aac.dev.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.91.951226102327.5934A-100000>