about summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2015-06-12 13:15:57 -0600
committerMartin Sebor <msebor@redhat.com>2015-06-12 13:15:57 -0600
commita82a3db95077c8343b988a6f1b03adea3d40f6d4 (patch)
tree16f417d70fc3431e77901a0535107bd8026bffd9 /manual
parent9714012ca015f1f6763f66bd74d6f3f9e1512b36 (diff)
downloadglibc-a82a3db95077c8343b988a6f1b03adea3d40f6d4.tar.gz
glibc-a82a3db95077c8343b988a6f1b03adea3d40f6d4.tar.xz
glibc-a82a3db95077c8343b988a6f1b03adea3d40f6d4.zip
Attempting to install glibc configured with --prefix=/usr into
a non-standard directory specified by the prefix make variable
fails with an error.  Since this is an unsupported use case,
this change makes make install fail early and with a descriptive
error message when either the prefix or the exec_prefix make
variable is overridden on the command line.
Diffstat (limited to 'manual')
-rw-r--r--manual/install.texi14
1 files changed, 8 insertions, 6 deletions
diff --git a/manual/install.texi b/manual/install.texi
index 42ee467463..63c41b0b8d 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -333,12 +333,14 @@ headers, but nothing else.  If you do this, you will need to restore
 any headers from libraries other than @theglibc{} yourself after installing the
 library.
 
-You can install @theglibc{} somewhere other than where you configured it to go
-by setting the @code{install_root} variable on the command line for
-@samp{make install}.  The value of this variable is prepended to all the
-paths for installation.  This is useful when setting up a chroot
-environment or preparing a binary distribution.  The directory should be
-specified with an absolute file name.
+You can install @theglibc{} somewhere other than where you configured
+it to go by setting the @code{DESTDIR} GNU standard make variable on
+the command line for @samp{make install}.  The value of this variable
+is prepended to all the paths for installation.  This is useful when
+setting up a chroot environment or preparing a binary distribution.
+The directory should be specified with an absolute file name. Installing
+with the @code{prefix} and @code{exec_prefix} GNU standard make variables
+set is not supported.
 
 @Theglibc{} includes a daemon called @code{nscd}, which you
 may or may not want to run.  @code{nscd} caches name service lookups; it