From edc6202fcc4d42c5d408d29c9908deed85ecdd30 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 31 May 2001 17:32:55 +0000 Subject: [PATCH] * automake.texi (Top level): Removed erroneous spaces. Documented MAKE and MAKEFLAGS. --- ChangeLog | 5 +++++ automake.texi | 13 ++++++++++--- stamp-vti | 2 +- version.texi | 2 +- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 766c06a8..64d35904 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-05-31 Tom Tromey + + * automake.texi (Top level): Removed erroneous spaces. Documented + MAKE and MAKEFLAGS. + 2001-05-29 Tom Tromey * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable. diff --git a/automake.texi b/automake.texi index 29a07f3a..d17ea7fd 100644 --- a/automake.texi +++ b/automake.texi @@ -1453,7 +1453,7 @@ SUBDIRS = @@MY_SUBDIRS@@ Then in your @file{configure.in} you can specify: @example -MY_SUBDIRS = "src doc lib po" +MY_SUBDIRS="src doc lib po" AC_SUBST(MY_SUBDIRS) @end example @@ -1470,7 +1470,13 @@ Although the @code{SUBDIRS} macro can contain configure substitutions contents of this variable. If @code{SUBDIRS} is defined, then your @file{configure.in} must include -@code{AC_PROG_MAKE_SET}. +@code{AC_PROG_MAKE_SET}. When Automake invokes @code{make} in a +subdirectory, it uses the value of the @code{MAKE} variable. It passes +the value of the variable @code{AM_MAKEFLAGS} to the @code{make} +invocation; this can be set in @file{Makefile.am} if there are flags you +must always pass to @code{make}. +@vindex MAKE +@vindex MAKEFLAGS The use of @code{SUBDIRS} is not restricted to just the top-level @file{Makefile.am}. Automake can be used to construct packages of @@ -1480,7 +1486,8 @@ By default, Automake generates @file{Makefiles} which work depth-first (@samp{postfix}). However, it is possible to change this ordering. You can do this by putting @samp{.} into @code{SUBDIRS}. For instance, putting @samp{.} first will cause a @samp{prefix} ordering of -directories. +directories. All @samp{clean} targets are run in reverse order of build +targets. Sometimes, such as when running @code{make dist}, you want all possible subdirectories to be examined. In this case Automake will use diff --git a/stamp-vti b/stamp-vti index bea77afa..88e09f5b 100644 --- a/stamp-vti +++ b/stamp-vti @@ -1,4 +1,4 @@ -@set UPDATED 29 May 2001 +@set UPDATED 31 May 2001 @set UPDATED-MONTH May 2001 @set EDITION 1.4g @set VERSION 1.4g diff --git a/version.texi b/version.texi index bea77afa..88e09f5b 100644 --- a/version.texi +++ b/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 29 May 2001 +@set UPDATED 31 May 2001 @set UPDATED-MONTH May 2001 @set EDITION 1.4g @set VERSION 1.4g -- 2.43.5