+Sun Oct 20 12:08:46 1996 Tom Tromey <tromey@cygnus.com>
+
+ * automake.in (handle_dist_worker): Explicitly pass distdir to
+ dist-hook make. From Tatu Ylonen.
+
+ * m4/strtod.m4: Use correct cache variable.
+
Thu Oct 17 13:45:20 1996 Tom Tromey <tromey@cygnus.com>
Lisp fixes from Erick Branderhorst:
Nyul Laszlo <nyul@sol.cc.u-szeged.hu>
Per Bothner <bothner@cygnus.com>
Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
+Tatu Ylonen <ylo@ssh.fi>
Thomas Morgan <tmorgan@pobox.com>
Tom Tromey <tromey@cygnus.com>
Ulrich Drepper <drepper@gnu.ai.mit.edu>
!! foo_LIBRARIES = @JOE@ -> _LIBFILES is wrong
+!! EXTRA_FOO should not be allowed to contain automake interpolations
+ the whole point of this variable is so automake can statically know...
+ This should probably be true for all EXTRA_ variables
+
* BUILT_SOURCES should be examined by automake, %dep_files should be
updated to handle it.
document EXTRA_DIST_DIRS, distributing things in subdirs
+document EXTRA_foo_SOURCES
+
+document why EXTRA_* vars must be statically knowable
================================================================
# packaged up.
if (defined $contents{'dist-hook'})
{
- $output_rules .= "\t\$(MAKE) dist-hook\n";
+ # We must explicitly set distdir here.
+ $output_rules .= "\t\$(MAKE) distdir=\"$(distdir)\" dist-hook\n";
}
push (@phony, 'distdir');
best to avoid making use of it, as sometimes the generated rules are
very particular.
+Similarly, a variable defined in @file{Makefile.am} will override any
+definition of the variable that @code{automake} would ordinarily create.
+This feature is more often useful than the ability to override a target
+definition. Be warned that many of the variables generated by
+@code{automake} are considered to be for internal use only, and their
+names might change in future releases.
+
When examining a variable definition, Automake will recursively examine
variables referenced in the definition. Eg if Automake is looking at
the content of @samp{foo_SOURCES} in this snippet
am_cv_func_strtod_needs_libm=no
if test $am_cv_func_strtod = no; then
AC_CHECK_FUNCS(pow)
- if test $am_cv_func_pow = no; then
+ if test $ac_cv_func_pow = no; then
AC_CHECK_LIB(m, pow, [am_cv_func_strtod_needs_libm=yes],
[AC_MSG_WARN(can't find library containing definition of pow)])
fi