lib/am/subdirs.am


Log

Author Commit Date CI Message
Akim Demaille 4b36021d 2001-04-09T14:44:04 * subdirs.am: Don't define info related recursive targets. * texinfos.am: Do.
Akim Demaille 19d98150 2001-04-09T14:40:11 * subdirs.am (RECURSIVE_TARGETS): New variable. Use it. * automake.in (&handle_subdirs): Output it. (&file_contents_internal): Support value spread on several lines.
Akim Demaille 0794a12b 2001-03-05T14:45:40 Make the installation/uninstallation of Info pages follow the regular am/recursive scheme. * automake.in (%required_targets, %dependencies): Add install-info. (%dependencies): Add install-info, install-info-am, and unstall-info. (&handle_subdirs): Don't transform INSTALLINFO, which mapping was reversed BTW. Does anybody use the option `no-installinfo'? (&handle_merge_targets): Let the handling of info related targets to... (&handle_factored_dependencies): this. * subdirs.am: Use ?INSTALL-INFO?. * texinfos.am: Define the install-info, uninstall-info and uninstall-info-am targets.
Akim Demaille e8133bcf 2001-02-27T09:12:42 Distinguish automake substitutions from config.status substitutions. * automake.in (&add_depend2): Transform AMDEP. (&handle_clean): Transform MCFILES and MFILES. (&file_contents): Transform MAINTAINER_MODE. (&transform, &am_install_var): Use `%', not `@'. Adjust all the *.am files. * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN. * depend2.am: Display the double dependency on both ?AMDEP? and @AMDEP@.
Akim Demaille 876f65e3 2001-02-23T15:06:52 * automake.in: Formatting and mying changes.
Akim Demaille de7f0818 2001-02-06T10:17:57 * subdirs.am: This file is the exception: clean recursive targets are called by the clean targets, not the clean-am targets. Otherwise we have a circular dependency: clean -> clean-am -> clean-recursive -> clean. * automake.in (handle_clean): Bind `-local' targets to `-am' targets, not top targets. Don't declare -recursive dependencies of the clean targets: `subdirs.am' did it. Less hard coded knowledge, transfered into... * clean.am: here.
Akim Demaille 8a34b58d 2001-02-06T09:09:36 Monstro unsplitable patch. The aim is to remove hard coded knowledge about clean targets from automake.in, leaving them in the *.am files. In addition to the mechanic needed to factor some dependencies, it appears some rules (most notably distclean and maintainer-clean) need factored actions. So first, be ready to catch factored rules. * automake.in (&file_contents): For the time being, use an extended $RULE_PATTERN which is able to match any kind of rules, with or without dependency, with or without actions. Handle all the rules uniformly, storing in %actions the factored actions. (&flatten, &target_cmp): New. (&handle_factored_dependencies): Output the %actions. No longer special case `clean'. Output the rules in alphabetical order, but keeping `.PHONY' last. Now we must not use &push_phony_cleaners, which is doing all sort of magic to push a bit of everything in all the clean targets. The biggest problem being that, making a Cartesian product, it requires many useless targets. The `*.am' file know better. But first, register the new factored rules. * automake.in (&initialize_per_input): Include clean, mostlyclean, maintainer-clean, distclean and their `*-am' counterpart in %dependencies. Initialize %actions. (get_object_extension, handle_texinfo, handle_tags, handle_multilib) handle_dependencies, handle_subdirs, handle_configure, handle_clean) (handle_emacs_lisp, handle_python): Don't play with &push_phony_cleaners nor &depend and `clean'. * texinfos.am, texi-vers.am, tags-clean.am: * subdirs.am,python-clean.am, multilib.am, lisp-clean.am: * libtool.am, kr-extra.am, depend.am, compile.am, clean.am: * clean-kr.am, clean-hdr.am: Do it. Whenever a target is empty, just remove it, it will no longer be called. There is still some magic about clean to hard code. But really, that's the end of &do_one_clean_target. * automake.in (&do_one_clean_target): Kaboom out. (&handle_clean): Rewrite the magic code. (&am_install_var): No longer use &push_phony_cleaners, nor depend on `clean'. (&push_phony_cleaners): Kaboom too.
Akim Demaille 7a394d5e 2001-01-31T14:36:21 * automake.in (%factored_dependencies): New. (file_contents): Use it. (handle_phony): Rename as... (handle_factored_dependencies): this. * subdirs.am: No need for convolved syntax to declare .PHONY.
Akim Demaille 0fcabc77 2001-01-29T17:36:44 * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a .PHONY target. * automake.in (handle_texinfo, handle_man_pages, handle_multilib) (handle_etags, handle_subdirs): Don't push into @phony.
Tom Tromey f9ffd677 2000-12-23T20:26:10 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for distclean and maintainer-clean. * automake.texi (Top level): Document use of DIST_SUBDIRS.
Akim Demaille a2c34841 2000-10-16T09:01:36 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements. * automake.in, automake.texi: Likewise. * clean-kr.am, clean.am: Likewise. * comp-vars.am: Likewise. * compile, compile.am: Likewise. * data-clean.am: Likewise. * data.am: Likewise. * dejagnu.am: Likewise. * depcomp: Likewise. * depend.am, depend2.am: Likewise. * dist-vars.am, dist.am: Likewise. * elisp-comp: Likewise. * footer.am: Likewise. * header-vars.am, header.am: Likewise. * java-clean.am java.am: Likewise. * kr-extra.am: Likewise. * library.am: Likewise. * libs-clean.am, libs.am: Likewise. * libtool.am: Likewise. * lisp-clean.am lisp.am: Likewise. * ltlib-clean.am ltlib.am: Likewise. * ltlibrary.am: Likewise. * m4/Makefile.in: Likewise. * m4/strtod.m4: Likewise. * mans-vars.am, mans.am: Likewise. * mdate-sh: Likewise. * missing: Likewise. * multilib.am: Likewise. * program.am: Likewise. * progs-clean.am, progs.am: Likewise. * python-clean.am, python.am: Likewise. * remake-hdr.am, remake.am: Likewise. * scripts.am: Likewise. * subdirs.am: Likewise. * tags-clean.am, tags.am: Likewise. * texi-vers.am: Likewise. * texinfos.am: Likewise. * ylwrap: Likewise.
Tom Tromey a31d9a2e 2000-08-26T20:37:13 * subdirs.am (maintainer-clean-recursive): Always run clean rules in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
Tom Tromey 31299c75 2000-01-06T16:59:00 * header-vars.am (@SET_MAKE@): Added. * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki Kasahara.
Tom Tromey fc690f41 1999-03-11T22:31:07 From Ralf Corsepius. Fixes lex3.test. * automake.in (lang_yacc_finish): Include `.' in name pushed onto maintainer-clean list. (lang_lex_finish): Likewise.
Tom Tromey 72c1e14a 1998-10-01T00:23:45 Some bug fixes, plus a complete rewrite of source file handling: * texinfos.am (install-info-am): Handle case where INFO_DEPS is empty. Reported by Andrew Cagney. (uninstall-info): Likewise. (dist-info): Likewise. * automake.in (handle_texinfo): Error if user tries to generate HTML. * automake.in (do_one_clean_target): Don't push previous clean target if this target is `mostly'. Report from Raja R Harinath. * subdirs.am (mostlyclean-recursive ...): Build local_target, not target. From Raja R Harinath. Completely changed how languages and source files are handled: * automake.in: Call register_language for each language. (lang_c_rewrite): New function. (lang_cxx_rewrite): Likewise. (lang_header_rewrite): Likewise. (lang_yacc_rewrite): Likewise. (lang_yaccxx_rewrite): Likewise. (lang_lex_rewrite): Likewise. (lang_lexxx_rewrite): Likewise. (lang_asm_rewrite): Likewise. (lang_fortran_rewrite): Likewise. (register_language): Likewise. (extension_map): New global. (language_map): Likewise. (resolve_linker): New function. (handle_single_transform_list): Rewrote to use lang_X_rewrite functions. Changed meaning of first argument. (initialize_per_input): Removed seen_any_source. Initialize language_scratch, extension_seen. Removed cxx_extensions, seen_c_source, dir_holds_headers, dir_holds_sources. (handle_source_transform): Don't compute $objpat. Pass $obj directly to handle_single_transform_list. (handle_built_sources): Fixed call to handle_single_transform_list. (lang_c_finish): New function. (lang_cxx_finish): Likewise. (lang_header_finish): Likewise. (lang_yacc_finish): Likewise. (lang_yaccxx_finish): Likewise. (lang_lex_finish): Likewise. (lang_lexxx_finish): Likewise.. (lang_asm_finish): Likewise. (lang_fortran_finish): Likewise. (yacc_lex_finish_helper): Likewise. (libtool_compiler): Likewise. (saw_extension): New function. (handle_lib_objects_cond): Use saw_extension, not old variables. (handle_yacc_lex_cxx): Removed. (finish_languages): New function. (get_object_extension): Don't set dir_holds_sources. (handle_headers): Don't set dir_holds_headers. Instead, call saw_extension. (saw_sources_p): New function. (handle_tags): Use it. (handle_dependencies): Likewise. (cxx_extensions): New function. (handle_dependencies): Use it. (generate_makefile): Call finish_languages, not handle_yacc_lex_cxx.
Tom Tromey 0ac22bb6 1998-09-28T01:51:16 `.' in SUBDIRS changes order of builds: * Makefile.am (SUBDIRS): Added `.'. Put tests last. * tags.am (TAGS): Don't look for TAGS file in `.'. * automake.texi (Top level): Document SUBDIRS change. * automake.in (handle_installdirs): Create separate installdirs-am target. (handle_merge_targets): Don't put all-am onto @all. Fixed error message. Correctly handle install-info. Give error if install-info-local inappropriately defined. Don't special-case install-data, install-exec, install, uninstall, or all. (handle_subdirs): Don't push `-recursive' target names onto corresponding lists. (do_one_merge_target): Always define `-am' form of rule, and point ordinary form to `-am' or `-recursive' as appropriate. Special-case `all'. (do_check_merge_target): Generate check-am target. (handle_dist_worker): Use target_defined. (handle_dist): Likewise. (handle_merge_targets): Likewise. (do_one_merge_target): Likewise. (do_check_merge_target): Likewise. (do_one_clean_target): Likewise. (initialize_per_input): Initialize $all_target. (do_one_clean_target): Always generate -am form of rule; other changes for new SUBDIRS change. (handle_clean): Always generate clean-am form of rule. (handle_tags): Only build subdir if not `.'. (handle_dist_worker): Skip `.' directory. * subdirs.am: Allow `.' to be specified in SUBDIRS.
Tom Tromey b5b61792 1998-07-17T17:22:43 AM_MAKEFLAGS patch from Ian
Tom Tromey d9193017 1997-10-21T17:01:38 empty subdirs bug fix
Tom Tromey 48759068 1997-08-02T19:46:00 subdirs fixlet
Tom Tromey c49ec17a 1997-05-10T22:24:49 make -k fix from ian
Tom Tromey 447031fe 1997-04-30T01:30:40 run clean subdirs in reverse order
Tom Tromey 12014054 1996-12-08T21:05:11 installs now 'quiet'
Tom Tromey cbf3dc2e 1996-11-07T22:47:12 Initial draft of --cygnus mode. Bug fixes for config.h in subdir
Tom Tromey f9ea0839 1996-07-05T15:01:03 More bug fixes
Tom Tromey 9be3ddeb 1996-02-17T07:34:22 Bug fixes
Tom Tromey 6d682bdc 1996-02-08T02:11:41 Many bug fixes
Tom Tromey e398ecd9 1996-01-06T20:10:14 Patches from Jim Meyering. Put copyright in all files
Tom Tromey 3aba9acd 1996-01-02T02:20:18 Many changes from Franc,ois
Tom Tromey 9eb2ffa7 1995-12-05T06:16:51 Many cleanups. Added --strictness option.
Tom Tromey d090b70b 1995-12-03T06:12:34 Handle installcheck. Handle ## comments. Fixlets
Tom Tromey 5a104483 1995-11-29T21:10:29 (RECURSIVE): Removed uninstall-data-recursive and uninstall-exec-recursive. Added installdirs-recursive.
Tom Tromey efa21708 1995-11-27T21:45:28 Removed bogus local clean targets
Tom Tromey 33ccc865 1995-11-26T05:51:20 (.NOEXPORT): Removed (now in footer.am)
Tom Tromey 10de14d3 1995-11-23T06:18:41 ($(RECURSIVE)): Removed trailing \ from last line
Tom Tromey 6589fea0 1995-11-23T03:07:53 ($(RECURSIVE)): Print name of target actually used
Tom Tromey 591ca35b 1995-11-23T02:35:23 Removed "::" rules
Tom Tromey 18da6f71 1995-11-22T09:11:40 (maintainer-clean): Don't use realclean-local
Tom Tromey 2100c3e0 1995-11-21T07:55:55 (all-recursive): Put with other -recursive rules
Tom Tromey e9bfbcbc 1995-11-21T05:56:46 (all): Renamed from _all. Now uses all-recursive (all-recursive): Don't fail immediately if -k specified.
Tom Tromey 885b23c7 1995-11-20T22:48:03 (_all): New target. Now use Jim Meyering's formulation of AIX workaround. (install-exec, install-data): New targets
Tom Tromey 489fc39a 1995-11-16T18:43:43 (all): Separated out due to AIX 3.2.5 bug.
Tom Tromey a1862a48 1995-11-16T18:28:16 TAGS target now in tags.am
Tom Tromey 8b782c88 1995-11-12T22:22:09 (TAGS): Include $(CONFIG_HEADER) when making tags.
Tom Tromey a3251a41 1995-11-12T20:01:11 (id, ID): New target. (.NOEXPORT): Copied from footers.am.
Tom Tromey 99d8e66e 1995-11-12T19:57:31 (TAGS): Bug fixes.
Tom Tromey efba0a67 1995-11-12T19:53:27 (TAGS): Don't fail if a subdir doesn't have TAGS target.
Tom Tromey ea2cbdf7 1995-11-12T19:30:26 (maintainer-clean-local): Remove TAGS
Tom Tromey dbd0599e 1995-11-12T19:29:12 (TAGS): Make tags file that includes all subdir tags files
Tom Tromey de8e844c 1995-11-12T19:24:20 Use maintainer-clean, per GNU standards
David J. MacKenzie 993fe72e 1994-10-02T01:31:05 fix typo
David J. MacKenzie c0aa7bd8 1994-09-19T22:44:25 works on fileutils except for all
David J. MacKenzie c20ca442 1994-09-19T16:20:04 might work
David J. MacKenzie ddb3d5fc 1994-09-19T15:12:26 Initial revision