]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Improve INSTALL wording.
authorEric Blake <ebb9@byu.net>
Thu, 15 Oct 2009 13:00:38 +0000 (07:00 -0600)
committerEric Blake <ebb9@byu.net>
Thu, 15 Oct 2009 13:01:07 +0000 (07:01 -0600)
* doc/install.texi (Basic Installation): Clarify installcheck
behavior.
(Installation Names): Mention that --prefix only overrides
directory locations not specified on the command line.  Prefer
/alternate/directory over /path/to.  Remove a sentence targeted to
the developer, not the user.
* THANKS: Update.
Suggested by Alfred M. Szmidt.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
THANKS
doc/install.texi

index 074546ce8d7bd0c6f077f9999276157a978d1890..2cd033fac85200e3755a40f090ad794884ae030d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2009-10-15  Eric Blake  <ebb9@byu.net>
+
+       Improve INSTALL wording.
+       * doc/install.texi (Basic Installation): Clarify installcheck
+       behavior.
+       (Installation Names): Mention that --prefix only overrides
+       directory locations not specified on the command line.  Prefer
+       /alternate/directory over /path/to.  Remove a sentence targeted to
+       the developer, not the user.
+       * THANKS: Update.
+       Suggested by Alfred M. Szmidt.
+
 2009-10-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
 
        Fix typos in documentation.
diff --git a/THANKS b/THANKS
index ba239ca6de2d2bfd3406c8d99a6b001146b29cc0..5ecd95389d8becc9a20fe228cb3fbba538c26ccb 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -24,6 +24,7 @@ Alexandre Duret-Lutz        duret_g@epita.fr
 Alexandre Julliard          ?
 Alexandre Oliva             oliva@lsd.ic.unicamp.br
 Alfred G. de Wijn           dwijn@iluvatar.eu.org
+Alfred M. Szmidt            ams@gnu.org
 Allan Caffee                allan.caffee@gmail.com
 Andreas Buening             andreas.buening@nexgo.de
 Andreas Jaeger              aj@suse.de
index 4f3301f2e6da79085236c057d8631f8a472164e0..5ce59eb261b55340a613b4aa1314c8872c7e33ef 100644 (file)
@@ -84,7 +84,10 @@ and only the @samp{make install} phase executed with root privileges.
 
 @item
 Optionally, type @samp{make installcheck} to repeat any self-tests, but
-this time using the binaries in their final installed location.
+this time using the binaries in their final installed location.  This
+target does not install anything.  Running this target as a regular
+user, particlarly if the prior @samp{make install} required root
+privileges, verifies that the installation completed correctly.
 
 @item
 You can remove the program binaries and object files from the source
@@ -169,7 +172,7 @@ By default, @samp{make install} installs the package's commands under
 You can specify an
 installation prefix other than @file{/usr/local} by giving
 @command{configure} the option @option{--prefix=@var{prefix}}, where
-@var{prefix} must be an absolute path.
+@var{prefix} must be an absolute file name.
 
 You can specify separate installation prefixes for architecture-specific
 files and architecture-independent files.  If you pass the option
@@ -184,7 +187,8 @@ particular kinds of files.  Run @samp{configure --help} for a list of
 the directories you can set and what kinds of files go in them.  In
 general, the default for these options is expressed in terms of
 @samp{$@{prefix@}}, so that specifying just @option{--prefix} will
-affect all of the other directory specifications.
+affect all of the other directory specifications that were not
+explicitly provided.
 
 The most portable way to affect installation locations is to pass the
 correct locations to @command{configure}; however, many packages provide
@@ -194,12 +198,12 @@ without having to reconfigure or recompile.
 
 The first method involves providing an override variable for each
 affected directory.  For example, @samp{make install
-prefix=/path/to/alternate} will choose an alternate location, as well as
-influencing all other directory configuration variables that were
-expressed in terms of @samp{$@{prefix@}} (or, put another way, all
-directories specified during @command{configure} but not in terms of the
-common prefix must each be overridden at install time for the entire
-installation to be relocated).  The approach of makefile variable
+prefix=/alternate/directory} will choose an alternate location for all
+directory configuration variables that were expressed in terms of
+@samp{$@{prefix@}}.  Any directories that were specified during
+@command{configure}, but not in terms of the common prefix, must each be
+overridden at install time for the entire
+installation to be relocated.  The approach of makefile variable
 overrides for each directory variable is required by the @acronym{GNU}
 Coding Standards, and ideally causes no recompilation.  However, some
 platforms have known limitations with the semantics of shared libraries
@@ -207,16 +211,13 @@ that end up requiring recompilation when using this method, particularly
 noticeable in packages that use @acronym{GNU} Libtool.
 
 The second method involves providing the @samp{DESTDIR} variable.  For
-example, @samp{make install DESTDIR=/path/to/alternate} will prepend
-@samp{/path/to/alternate} before all installation paths.  The approach
+example, @samp{make install DESTDIR=/alternate/directory} will prepend
+@samp{/alternate/directory} before all installation names.  The approach
 of @samp{DESTDIR} overrides is not required by the @acronym{GNU} Coding
 Standards, and does not work on platforms that have drive letters.  On
 the other hand, it does better at avoiding recompilation issues, and
 works well even when some directory options were not specified in terms
-of @samp{$@{prefix@}} at @command{configure} time.  For packages which
-support @samp{DESTDIR}, the variable should remain undefined during
-@command{configure} and @samp{make all}, and only be specified during
-@samp{make install}.
+of @samp{$@{prefix@}} at @command{configure} time.
 
 @node Optional Features
 @section Optional Features