* lib/am/subdirs.am: Rename ...
* lib/am/subdirs.mk: ... like this. Prefer '#' comments over
'##' ones.
* automake.in (handle_subdirs): Include it with the 'verbatim'
function rather than with the 'file_contents' one.
(generate_makefile): Move its call later. This is actually required
to avoid spurious failures.
* Makefile.am (dist_am_DATA): Adjust.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/dejagnu.mk \
lib/am/distcheck.mk \
lib/am/distdir.mk \
+ lib/am/subdirs.mk \
lib/am/compile.am \
lib/am/configure.am \
lib/am/data.am \
lib/am/python.am \
lib/am/remake-hdr.am \
lib/am/scripts.am \
- lib/am/subdirs.am \
lib/am/texi-vers.am \
lib/am/texi-spec.am \
lib/am/texinfos.am \
check_directories_in_var $dsubdirs
if $dsubdirs;
- $output_rules .= &file_contents ('subdirs', new Automake::Location);
+ verbatim ('subdirs');
}
handle_data;
handle_headers;
verbatim ('tags');
- handle_subdirs;
handle_user_recursion;
handle_minor_options;
verbatim ('common-targets');
handle_clean ();
+ # This must really come late.
+ handle_subdirs;
+
handle_factored_dependencies;
# Comes last, because all the above procedures may have
$(RECURSIVE_CLEAN_TARGETS) \
$(am.recurs.extra-targets)
-## All documented targets which invoke 'make' recursively, or depend
-## on targets that do so. GNUmakefile from gnulib depends on this.
+# All documented targets which invoke 'make' recursively, or depend
+# on targets that do so. GNUmakefile from gnulib depends on this.
AM_RECURSIVE_TARGETS += $(am__recursive_targets:-recursive=)
.PHONY: $(am__recursive_targets)
clean: clean-recursive
distclean: distclean-recursive
maintainer-clean: maintainer-clean-recursive
-