revised info on DESTDIR, because I didn't quite understand the old text; hopefully the new text still makes sense to others

svn: r3474
This commit is contained in:
Matthew Flatt 2006-06-26 01:33:53 +00:00
parent d540970a9a
commit 1512697f12

View File

@ -150,19 +150,18 @@ the Unix instructions below, but note the following:
executable directory for a --prefix build.
For a --prefix build, this step also creates a "config.ss" module
in a "config" collection for a --prefix build, so that various PLT
tools and libraries can find the installation directories. In
this case, you can also use a `DESTDIR' environment variable to
have the hierarchy constructed at a temporary place (useful for
packaging), for example: `make DESTDIR=/tmp/plt-build install'.
Note that if DESTDIR is used, the resulting installation will not
be functional until it is installed in the its intended place
(because at the end of this step, the generated "config.ss", the
binaries and the launchers will all get patched to point at the
installation paths, without the DESTDIR prefix).
in a "config" collection, so that various PLT tools and libraries
can find the installation directories. At this stage, in case you
are packaging an installation instead of installing directly, you
can redirect the installation by setting the "DESTDIR" environment
variable. For example, `make DESTDIR=/tmp/plt-build install'
places the installation into "/tmp/plt-build" instead of the
location originally specified with --prefix. The resulting
installation will not work, however, until it is moved to the
location originally specified with --prefix.
Finally, this step compiles ".zo" bytecode files for installed
Scheme source, and generates launcher programs like
Finally, the `make install' step compiles ".zo" bytecode files for
installed Scheme source, and generates launcher programs like
"DrScheme". Use `make plain-install' to install without compiling
".zo" files or creating launchers.