Thu Oct 10 16:12:38 1996 Tom Tromey <tromey@cygnus.com>
+ * m4/lispdir.m4: Unset EMACS if it is set to `t'.
+
* automake.in (handle_dist_worker): Allow EXTRA_DIST items to be
in subdirs.
+ (do_one_merge_target): Use all-am, not all, in subdirs case.
+ (handle_merge_targets): Always generate all-am in subdirs case.
* remake.am (Makefile): Depend on BUILT_SOURCES.
* remake-subd.am (Makefile): Depend on BUILT_SOURCES.
- consider adding "echo"s to installs again.
users can use make SHELL='sh -x' to get the full dirt
-Avoid loops when installing; instead unroll them in automake
+Some long-term projects:
+* if $(FOO) is used somewhere, ensure FOO is defined, either by
+ user or by automake if possible
+* Don't rearrange order of `include' lines relative to += assignments.
+* Handle += assignments at all.
-allow `EXTRA_DIST = foo/bar'; too many requests to ignore
+Avoid loops when installing; instead unroll them in automake
Franc,ois> * ansi2knr was uselessly compiled, and it might be an
Franc,ois> Automake problem:
Consider: "cvs" option adds some cvs-specific rules?
"Cygnus"-specific features:
-* An option that statically rewrites @MAINT@ to "#M#".
* Should look for certain tools in the build tree:
expect, dejagnu, makeinfo
* `no-installinfo' is the default
These can both be handled via dist-hook:
. Consider supporting guile-style PLUGIN directories automatically?
-. Consider allowing eg "foo/bar" to appear in EXTRA_DIST, and generating
- code to make directory foo at dist time
djm says:
David> To avoid comments like the one about subdirs getting buried in
Stuff for aclocal:
-Should ignore ## comments.
-
probably should put each group of m4 files into a subdir owned by the
containing application.
-must fill in definitions for some of the AC_FEATURE macros
-
-consider including autosystem; that is the only way the AC_FEATURE
-macros even make sense. Or move the AC_FEATURE macros back into
-autosystem...
-
================================================================
Document:
else
{
@all = ('all-recursive');
+
+ # Must always generate `all-am' target, so it can be
+ # referred to elsewhere.
+ $output_rules .= "all-am:\n";
}
if (@install_exec)
{
{
if (! &variable_defined ('SUBDIRS'))
{
- # 'check' must depend on 'all', but not when doing
+ # 'check' must depend on `all', but not when doing
# recursive build.
unshift (@values, 'all');
}
else
{
# When subdirs are used, do the `all' build and then do
- # all the recursive stuff.
- $output_rules .= "check: all\n";
+ # all the recursive stuff. Actually use `all-am' because
+ # it doesn't recurse; we rely on the check target in the
+ # subdirs to do the required builds there.
+ $output_rules .= "check: all-am\n";
&pretty_print_rule ("\t\$(MAKE)", "\t ", @values);
$done = 1;
}
# serial 1
AC_DEFUN(AM_PATH_LISPDIR,
- [AC_PATH_PROG(EMACS, emacs xemacs, no)
+ [# If set to t, that means we are running in a shell under Emacs.
+ # If you have an Emacs named "t", then use the full path.
+ test "$EMACS" = t && EMACS=
+ AC_PATH_PROG(EMACS, emacs xemacs, no)
if test $EMACS != "no"; then
AC_MSG_CHECKING([where .elc files should go])
dnl Set default value