]> sourceware.org Git - automake.git/commitdiff
1998-10-29 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
authorTom Tromey <tromey@redhat.com>
Fri, 30 Oct 1998 14:14:59 +0000 (14:14 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 30 Oct 1998 14:14:59 +0000 (14:14 +0000)
* automake.in (parse_arguments): Fixed type of -c for copying
1998-10-30  Tom Tromey  <tromey@cygnus.com>
* automake.texi (Install): Documented DESTDIR more fully.  From
Jeff Garzik.

ChangeLog
automake.in
automake.texi
stamp-vti
version.texi

index 4050cc140382c4defec022b141c5a2ab691548af..ba8e89fea42ff55a87821f8c8e7ad89047aaf7c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
+1998-10-29  Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
+
+       * automake.in (parse_arguments): Fixed type of -c for copying
+
 1998-10-30  Tom Tromey  <tromey@cygnus.com>
 
+       * automake.texi (Install): Documented DESTDIR more fully.  From
+       Jeff Garzik.
+
        * automake.in (MACRO_PATTERN): Recognize `+='.
        (BOGUS_MACRO_PATTERN): Likewise.
        (read_am_file): Handle `+=' assignments.
index 250357c9174b99eb02bf002a3b39f46d9ede906e..21fc180adeabc7e1f4c3647473d3f05823e6b381 100755 (executable)
@@ -475,7 +475,7 @@ sub parse_arguments
        {
            $add_missing = 1;
        }
-       elsif ($arglist[0] eq '--copy' || $arglist[0] eq 'c')
+       elsif ($arglist[0] eq '--copy' || $arglist[0] eq '-c')
        {
            $copy_missing = 1;
        }
index 7271689779dc3d506235ff533ae5c0858c9c2605..35e810f6b3a75926a5c2234b941f6f0215592913 100644 (file)
@@ -2812,10 +2812,26 @@ the name (e.g. @samp{myexecbin_PROGRAMS} is installed by
 @samp{install-exec}.  All other user-defined prefixes are installed by
 @samp{install-data}.
 
+@vindex DESTDIR
 Automake generates support for the @samp{DESTDIR} variable in all
-install rules; see @ref{Makefile Conventions, , , standards, The GNU
+install rules.  @samp{DESTDIR} is used during the @samp{make install}
+step to relocate install objects into a staging area.  Each object and
+path is prefixed with the value of @samp{DESTDIR} before being copied
+into the install area.  Here is an example of typical DESTDIR usage:
+
+@example
+make DESTDIR=/tmp/staging install
+@end example
+
+This places install objects in a directory tree built under
+@file{/tmp/staging}.  If @file{/gnu/bin/foo} and
+@file{/gnu/share/aclocal/foo.m4} are to be installed, the above command
+would install @file{/tmp/staging/gnu/bin/foo} and
+@file{/tmp/staging/gnu/share/aclocal/foo.m4}.
+
+This feature is commonly used to build install images and packages.  For
+more information, see @ref{Makefile Conventions, , , standards, The GNU
 Coding Standards}.
-@vindex DESTDIR
 
 
 @node Clean, Dist, Install, Top
index 447c6a2ade38b88fad23096d0bd6870ff4a5d205..761f848e48a7c999f69d211f48713cd231a835f4 100644 (file)
--- a/stamp-vti
+++ b/stamp-vti
@@ -1,3 +1,3 @@
-@set UPDATED 16 October 1998
+@set UPDATED 30 October 1998
 @set EDITION 1.3c
 @set VERSION 1.3c
index 447c6a2ade38b88fad23096d0bd6870ff4a5d205..761f848e48a7c999f69d211f48713cd231a835f4 100644 (file)
@@ -1,3 +1,3 @@
-@set UPDATED 16 October 1998
+@set UPDATED 30 October 1998
 @set EDITION 1.3c
 @set VERSION 1.3c
This page took 0.048357 seconds and 5 git commands to generate.