From owner-freebsd-current Mon Oct 28 12:17:38 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA29238 for current-outgoing; Mon, 28 Oct 1996 12:17:38 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA29226 for ; Mon, 28 Oct 1996 12:17:34 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.7.5/8.7.3) id MAA19664; Mon, 28 Oct 1996 12:15:02 -0800 (PST) From: "Rodney W. Grimes" Message-Id: <199610282015.MAA19664@GndRsh.aac.dev.com> Subject: Re: "make install" for subsequent machines? In-Reply-To: <199610281940.UAA01386@uriah.heep.sax.de> from J Wunsch at "Oct 28, 96 08:40:56 pm" To: joerg_wunsch@uriah.heep.sax.de Date: Mon, 28 Oct 1996 12:15:02 -0800 (PST) Cc: freebsd-current@FreeBSD.org, Harlan.Stenn@pfcs.com X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > As Harlan Stenn wrote: > > > How can I "install" from a -current src and obj hierarchy on other > > machines without having to recompile various bits? > > Mount your remote machine (/ and /usr, i think) to some point, say > /mnt and /mnt/usr. Then run > > make install DESTDIR=/mnt/ > > (The trailing slash might be important, i'm not sure.) The trailing slash is redundant and may cause some strange looking log output, and possibly (though I think I fixed all of them long long ago since DESTDIR should not be part of a symbolic link) very strange symbolic links. Arguable things should be fixed so that DESTDIR is always defined, and defaults to ``/'', and that a trailing slash be required and looked for, with an error return if missing. Then the *DIR stuff (ie, BINDIR, MANDIR) should have the leading slash rip out. This change would remove a lot of ``.if defined DESTDIR'' type of stuff in the src tree. This type of change would again, IMHO, need agreement from all of the *BSD's variants out there to minimize confusion. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation, Inc. Reliable computers for FreeBSD