From owner-freebsd-arch Wed Jan 24 15: 2:58 2001 Delivered-To: freebsd-arch@freebsd.org Received: from ringworld.nanolink.com (pool83-tch-1.Sofia.0rbitel.net [212.95.170.83]) by hub.freebsd.org (Postfix) with SMTP id 887B737B401 for ; Wed, 24 Jan 2001 15:02:33 -0800 (PST) Received: (qmail 65407 invoked by uid 1000); 24 Jan 2001 23:01:04 -0000 Date: Thu, 25 Jan 2001 01:01:04 +0200 From: Peter Pentchev To: Warner Losh Cc: clefevre@noos.fr, freebsd-arch@FreeBSD.ORG Subject: Re: patch for bsd.lib.mk to create include and lib dirs Message-ID: <20010125010104.C442@ringworld.oblivion.bg> Mail-Followup-To: Warner Losh , clefevre@noos.fr, freebsd-arch@FreeBSD.ORG References: <20010125004143.B442@ringworld.oblivion.bg> <20010124113902.B332@ringworld.oblivion.bg> <200101242202.f0OM2I961735@harmony.village.org> <20010125004143.B442@ringworld.oblivion.bg> <200101242249.f0OMnb962114@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101242249.f0OMnb962114@harmony.village.org>; from imp@harmony.village.org on Wed, Jan 24, 2001 at 03:49:37PM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 24, 2001 at 03:49:37PM -0700, Warner Losh wrote: > In message <20010125004143.B442@ringworld.oblivion.bg> Peter Pentchev writes: > : Well, it's either use install -d, or define MKDIR in sys.mk. > : Opinions? > > install -d is a little better. > > : > But why have a define for this? Why not check to make sure that > : > directory is missing before trying to create it? > : > : I'd rather it was a define, because automatically creating directories > : might mean new directories *in the source tree* are left out of the > : hier mtree files. Having a define be turned on only by programs that > : know they need it could avoid this IMHO. > > I guess I'm objecting to creating directories that already exist... > But it isn't a huge objection. Yes, it's true that if a directory does exist, install -d -o -g will chown it to the new owner; but it will still be left mode 755, which should be enough for most header files' and libraries' dirs. G'luck, Peter -- This sentence contradicts itself - or rather - well, no, actually it doesn't! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message