From owner-freebsd-current Mon Jan 31 10:36:51 2000 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id BDD6D14F92 for ; Mon, 31 Jan 2000 10:36:48 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id KAA93874; Mon, 31 Jan 2000 10:36:34 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200001311836.KAA93874@gndrsh.dnsmgr.net> Subject: Re: make installworld broken??? In-Reply-To: <20000131162318.4CA241CD7@overcee.netplex.com.au> from Peter Wemm at "Feb 1, 2000 00:23:18 am" To: peter@netplex.com.au (Peter Wemm) Date: Mon, 31 Jan 2000 10:36:33 -0800 (PST) Cc: abial@webgiro.com (Andrzej Bialecki), current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > "Rodney W. Grimes" wrote: > > Good analysis deleted... > > > > > src/usr.bin/xinstall could probably have been named src/usr.bin/install, > > > but PROG has to be xinstall regardless. I guess they kept the two as > > > xinstall for consistancy and in case there were other gotcha's like this. > > > > But you forgot what happens if you have a ``file'' named install: > > > > cd /tmp > > mkdir install > > make install > > > > Now you know the real reason the directory is called ``xinstall''. > > Ahh yes, of course. 'cd src/usr.bin; make install' would fail. :-) Actually it use to silently do the wrong thing... nothing at all that is :-) It doesn't anymore since the .mk system has a special internal target that deals with the fact that src/usr.bin is simply a directory that has to be iterated over: Orbit.hpc1.com:root{101}# cd /usr/src/usr.bin Orbit.hpc1.com:root{102}# mkdir install Orbit.hpc1.com:root{103}# make install ===> apply install -c -s -o root -g wheel -m 555 apply /usr/bin install -c -o root -g wheel -m 444 apply.1.gz /usr/share/man/man1 ===> at install -c -s -o root -g wheel -m 4555 at /usr/bin ... -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message