Date: Mon, 28 Oct 1996 12:15:02 -0800 (PST) From: "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com> To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-current@FreeBSD.org, Harlan.Stenn@pfcs.com Subject: Re: "make install" for subsequent machines? Message-ID: <199610282015.MAA19664@GndRsh.aac.dev.com> In-Reply-To: <199610281940.UAA01386@uriah.heep.sax.de> from J Wunsch at "Oct 28, 96 08:40:56 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610282015.MAA19664>