lib/am


Log

Author Commit Date CI Message
Tom Tromey 5bea838f 2001-05-06T23:01:34 Fix for PR automake/132: * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to compilation. (java): Remove INCLUDES and DEFS from compilation. (lang_c_finish): Add DEFAULT_INCLUDES to compilation. * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%. (DEFAULT_INCLUDES): New macro.
Tom Tromey 482129a7 2001-05-06T19:00:23 * distdir.am (distdir): Make subdirectory for each file. Fixes test subobj5.test.
Tom Tromey dc4652f5 2001-05-06T05:40:47 * mans.am (install-man%SECTION%): Minor cleanup. (uninstall-man%SECTION%): Likewise.
Tom Tromey ceb97942 2001-05-06T05:39:58 * tests/Makefile.am (XFAIL_TESTS): Removed man.test. * mans.am (install-man%SECTION%): Handle dist_ and nodist_ prefixes. (uninstall-man%SECTION%): Likewise. * automake.in (handle_man_pages): Handle dist_ and nodist_ prefixes.
Tom Tromey bce23ab7 2001-05-05T22:08:48 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3 prints to stderr. (install-info-am): Likewise.
Tom Tromey 11e74cc7 2001-05-05T20:47:29 Fix bug reported by Robert Boehne: * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be substituted. (handle_dependencies): Likewise. * Makefile.am (maintainer-check): Look for AMDEP_TRUE substitution. Correct diff now has 30 lines. Look for space after losing `undef'.
Akim Demaille 0ffa422b 2001-05-03T08:21:05 Case insensitive FS choke on Automake/ vs automake. Reported by Tim Van Holder. * Automake/: Move in... * lib/: this new directory.
Akim Demaille c81d72e2 2001-05-03T07:28:20 * data.am (install-%DIR%%PRIMARY%): Execute the same command as echoed.
Akim Demaille c6dd4b3b 2001-04-27T13:31:26 * automake.in (&read_am_file, &file_contents_internal): Don't define macros when `FALSE', to avoid errors on doubly defined variables but under condition `FALSE'. In order to allow... (&am_install_var): When reading the associated file for the first time, enable `%?FIRST%'. (&handle_libraries): Let libs.am define $(AR) and $(RANLIB). * libs.am: Do it when `%?FIRST%'.
Akim Demaille be3d5065 2001-04-27T13:30:31 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR). * ansi2knr.am: Do it. Prefer `if %?FOO%' to `if %!FOO%'.
Akim Demaille b8db9995 2001-04-27T13:17:02 Unify LISP, PYTHON and JAVA primaries. * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e., return if there are no files, hook elist-comp on the Autoconf macro, rely on lisp.am to define variables. (&handle_python, &handle_java): Likewise. (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and `PYTHON' must be handled here, not in `&handle_python'. * java.am: Define needed variables and rules.
Akim Demaille 2159e886 2001-04-27T13:02:16 * automake.in (&am_install_var): Transform `ONE_PRIMARY'. * data.am: Use it. * header.am: Include data.am.
Akim Demaille bd9fd822 2001-04-27T13:00:44 * automake.in (&am_install_var): Transform `PRIMARY'. * data.am: Equip with %PRIMARY%.
Akim Demaille e71635c7 2001-04-27T12:55:48 * automake.in (&lang_extensions): Remove. (&add_depend2, &saw_sources_p): Adjust. * depend2.am: `%EXT%' no longer includes the dot.
Akim Demaille 27251165 2001-04-27T10:45:14 * Automake/: New directory. * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct. * automake.in (Language): Use Automake::Struct. * tests/defs: Adjust to find Struct.
Akim Demaille 8c160048 2001-04-11T17:29:06 * depend2.am: Fix the `if' condition for Libtool. Reported by Robert Boehne.
Akim Demaille 56a87bec 2001-04-10T12:41:05 * distdir.am: Add a missing backslash.
Akim Demaille f3d09a31 2001-04-10T09:21:00 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special variables. Specify to the caller whether $regen_aclocal_m4. (&handle_configure): Adjust. Transform `REGEN-ACLOCAL-M4'. * configure.am: Use it. * tests/defs (me): New. * tests/configdeps.test: New.
Akim Demaille 62e23845 2001-04-09T14:56:30 * ext-compile.am: New file. * automake.in (&finish_languages): Output it. Require a C linker if there are several registered source suffixes. (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo' extensions, which are discovered in ext-compile.am. With the help from Robert Boehne.
Akim Demaille 5871219c 2001-04-09T14:50:53 Use AM_CONDITIONAL and if/endif for AMDEP. * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP. * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading to a configure time if/endif), or to `FALSE' (static removal of the code). (&handle_dependencies): Adjust to use `AMDEP_TRUE'. * depend2.am: Use if/endif. Adjust the 101 tests that use dependencies so that they properly invoke aclocal before automake. They need to `see' `AM_CONDITIONAL([AMDEP], ...)'.
Akim Demaille 890258dc 2001-04-09T14:48:34 * tags.am: Fix missing leading tabs.
Akim Demaille 6037a7bc 2001-04-09T14:46:45 * automake.in (&rule_define): When you discover a suffix rules, register the extensions for .SUFFIXES. (&handle_texinfo): Don't register the suffixes. (&get_object_extension): Don't register suffixes, let them be discovered in depend2.am. (&handle_emacs_lisp): Depend on your lisp.am. * lisp.am: Include the rule &handle_emacs_lisp used to output.
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 7400c62b 2001-04-09T14:38:35 * automake.in (&handle_man_pages): Rely on mans.am to define man%SECTION%dir and MANS. * mans.am: Do it.
Akim Demaille 8b9e044f 2001-04-09T14:23:09 * automake.in (&am_install_var): Transform DIST, and let the *.am files handle DIST_COMMON. * data.am, header.am, java.am, list.am, python.am, script.am: Set DIST_COMMON.
Akim Demaille 74d5d061 2001-04-09T14:06:40 * automake.in (%dist_common): Remove. (%configure_dist_common): Replace with... ($configure_dist_common): this. (&generate_makefile): Read the user file before using push_dist_common, as it sets DIST_COMMON, and read_am_file checks that no variable is defined before it is run. (&handle_texinfo): Don't handle DIST_COMMON, let your file do it. (&dist_cmp): Rename as... (&for_dist_common): this. (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do it. Adjust to $configure_dist_common. * configure.am, texi-vers.am: Set DIST_COMMON.
Akim Demaille d49b6d17 2001-04-09T14:05:10 * automake.in (&handle_aclocal_m4): Rename as... (&scan_aclocal_m4): this. Return the list of aclocal.m4 dependencies. (&handle_configure): Invoke it, and use it when loading... * configure.am: Template the rules to recreate aclocal.m4.
Akim Demaille 7522c427 2001-04-09T10:31:05 * automake.in (&get_object_extension): Use ansi2knr.am. * clean-kr.am, kr-extra.am: Remove, merged into... * ansi2knr.am: this new file.
Akim Demaille 3334f9a6 2001-04-09T10:06:38 * comp-vars.am: Remove, merged into... * compile.am: here. * automake.in (&get_object_extension): Adjust.
Akim Demaille 7aa9fca1 2001-04-09T10:02:40 * remake.am: Merge into... * configure.am: ... here. * automake.in (&handle_configure): Adjust.
Akim Demaille 610b8c5f 2001-04-09T10:00:50 * automake.in (&output_lex_build_rule): Output this... * lex.am: New file.
Akim Demaille 3727a57d 2001-04-09T09:58:57 * automake.in (&condition_negate): New. (&variable_conditions_permutations): Use it. (&read_am_file, &file_contents): Use it on `else' clauses to support `if FALSE'. (&output_yacc_build_rule): Output this... * yacc.am: New file.
Akim Demaille 6ed11d3c 2001-04-09T09:55:12 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR. (&handle_dist): Don't. (&handle_clean): Don't handle config.status here, let... * clean.am: ... do it. * distdir.am: Adjust.
Akim Demaille 40787818 2001-04-09T09:50:33 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am, * progs.am, python.am: Use if/endif instead of ?INSTALL?. * java.am (_am_installdirs): Be sure to set it.
Akim Demaille 1bad33bb 2001-04-09T09:47:18 * distdir.am: Use and abuse of if/endif. * scripts.am: Using if/endif with variables is fine.
Akim Demaille fc0250b3 2001-04-09T09:03:11 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so that it does not get noticed twice by automake, which now complains for multiple definitions. * tests/vartar.test: s/INSTALL/install/g, automake now complains because we defined INSTALL.
Tom Tromey aa75823c 2001-04-01T23:45:49 * java.am (.PHONY clean-am): Removed trailing ":". From Per Bothner. Fixes PR automake/139.
Akim Demaille f22d1da9 2001-03-28T07:31:05 * program.am: Fix a stupid typo: now *all* (not none) the programs use `$(EXEEXT)'. Reported by Robert Boehne.
Akim Demaille 3ae89d51 2001-03-23T17:54:05 * automake.in (&variable_conditionally_defined): Rename as... (&check_variable_unconditionally_defined): this. (&variable_dump): Fix the output. (&variable_defined, &macro_define): Since conditions are canonicalized, don't use a loop to look for a condition: read the hash. (&macro_define, &rule_define, &read_am_file, &file_contents): Rename $cond_string as $cond. * distdir.am (PACKAGE, VERSION): Remove; since they are already discovered via AC_SUBST, they now trigger a `defined twice' error.
Akim Demaille d9ec7f0b 2001-03-23T16:58:44 * automake.in (&file_contents): Maintain $cond_string sync with @cond_stack. Output rules only if not under `FALSE'. Define variables under $cond_string. * scripts.am: For the time being if/endif does not work properly with macros.
Akim Demaille f7157905 2001-03-23T16:54:42 * automake.in (IF_PATTERN): Unobfuscate the parens. (ENDIF_PATTERN): Allow a condition to be specified. (&file_contents): Use a @cond_stack. (&transform): At least for an easy transition, also transform %?FOO% and %!FOO%, as suggested by Lars. * scripts.am: First test bed for static if/endif use.
Pavel Roskin cdc5e7f5 2001-03-09T22:24:20 * Makefile.am (maintainer-check): Scan all *.am files and tests for invocations of `rm' without `-f'. * tests/mclean.test: Adjusted to prevent triggering the above test.
Akim Demaille 32dcb427 2001-03-06T18:24:59 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .' into `grep -v ...'.
Pavel Roskin 775d0c25 2001-03-06T18:12:33 * java.am: Use `rm -f' instead of `rm'.
Tom Tromey e619166e 2001-03-06T17:25:36 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de> * ltlib.am: Replaced spaces with tab.
Akim Demaille 93229961 2001-03-06T14:44:44 * header.am, scripts.am: Use ?INSTALL? in the install and uninstall rules.
Akim Demaille 80206c9e 2001-03-05T18:56:45 Always use hashes with &file_contents. * automake.in (&handle_texinfo): texibuild.am does not need TEXINFODIR. texinfos.am wants only TEXICLEANS. (&handle_dist, &add_depend2, &handle_clean): Replace $xform with %transform. * texinfos.am: Adjust.
Akim Demaille a939c6ff 2001-03-05T18:47:49 * automake.in (&handle_programs, &handle_libraries, &handle_tags) (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust. (&am_install_var): Forget about `-clean'. Transform ?INSTALL?. Always output the *.am file. * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am, * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am: Remove, merged into the corresponding *.am file. * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with ?INSTALL?.
Pavel Roskin ab63b14c 2001-03-05T16:57:52 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
Akim Demaille 65e17bce 2001-03-05T15:03:00 If OBJEXT and EXEEXT are not set, provide a default value, and use them unconditionally. * automake.in (&generate_makefile): Provide default values for EXEEXT and OBJEXT. (&get_object_extension, &finish_languages) (&handle_single_transform_list, &handle_programs, &add_depend2) (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with them, they are defined. * compile.am, depend2.am, program.am, progs.am: Likewise. * remake-hdr.am: Fix a typo. * tests/cxxo.test, tests/fo.test, tests/implicit.test, * tests/interp.test, tests/subobj.test, tests/subobj2.test, * tests/suffix2.test: Adjust.
Akim Demaille 44d82214 2001-03-05T14:52:13 * automake.in (&file_contents): Map MAINTAINER-MODE to @MAINTAINER_MODE_TRUE@ or nothing. * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust. Suggested by Tom.
Akim Demaille 7858570e 2001-03-05T14:49:43 * automake.in (&do_one_merge_target): Remove, was only called from... (&handle_merge_targets): here for `all'. Adjust.
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 f455f2ed 2001-03-05T14:44:27 * automake.in (%required_targets, %dependencies): Add dvi, info, dvi-am, info-am. (@info, @dvi): Remove. (&handle_texinfo, &handle_merge_targets): Adjust. (&handle_factored_dependencies): Required targets are phony. * texinfos.am: Build info, dvi, and the corresponding -am or -recursive targets.
Akim Demaille 5b77c84d 2001-03-05T14:42:56 * automake.in (&file_contents): Transform LIBTOOL. (&am_install_var): Remove $ltxform. * ltlib.am, progs.am: Adjust.
Akim Demaille 51c68871 2001-03-05T14:41:08 * configure.am: New file. * automake.in (&file_contents): Transform CONFIGURE-AC. (&handle_texinfo, &handle_configure): Don't transform CONFIGURE_AM. (&handle_configure): Use `configure.am'. * remake-hdr.am, remake.am, texi-vers.am: Adjust to MAINTAINER-MODE and CONFIGURE-AC.
Akim Demaille 768c0b53 2001-03-05T14:35:47 * automake.in ($in_file_name, $am_file_name, $relative_dirs): Globals, initialized... (&initialize_per_input): here.
Tom Tromey e1cca10d 2001-03-02T19:44:19 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de> * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
Akim Demaille 29ade8c7 2001-02-28T09:53:11 * automake.in (&add_depend2): Transform `GENERIC'. Get rid of the ad hoc transformation of `@EXT@.o:' which in addition was broken by the `@ -> %' patch. * depend2.am: Adjust to use ?GENERIC?.
Akim Demaille 8df62374 2001-02-28T09:51:25 * Makefile.am (maintainer-check): `undef $/' is OK.
Akim Demaille 7f3e6b58 2001-02-27T09:15:27 Add some comments.
Akim Demaille 36287451 2001-02-27T09:14:00 * mans.am: s/INSTALL_MAN/INSTALL-MAN/. * automake.in (&handle_clean): Don't escape what's given to &transform.
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@.
Tom Tromey 833912f6 2001-02-27T08:07:57 * distdir.am (distcheck): Fixed new code. * tests/yaccvpath.test: Fail gracefully if bison/flex not found. Only configure once.
Tom Tromey 82833c2d 2001-02-27T07:55:17 * distdir.am (distcheck): Print error message if distclean failed to fully clean.
Akim Demaille b9286474 2001-02-26T19:16:17 * automake.in (&am_install_var): Recognize whether predefined directories are `data' or `exec'. * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install ?EXEC?. * tests/instdata2.test: Update.
Akim Demaille 36c51039 2001-02-26T18:27:46 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is necessarily in infodir.
Akim Demaille d12bd4da 2001-02-26T13:59:47 * automake.in ($am_file): Be `local', as my'd variables used in `foreach' loops are always private to the loop.
Pavel Roskin 8158c272 2001-02-26T12:39:13 * Makefile.am: Add install.am.
Akim Demaille f037e98d 2001-02-26T09:54:24 * automake.in (&handle_dist): Use &transform instead of dedicated magic for DISTDIRS. But be sure to always do it. * distdir.am: Adjust.
Akim Demaille 450d5803 2001-02-26T09:37:39 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't handle installcheck and installcheck-am. * install.am: Do it.
Akim Demaille 1051caf2 2001-02-26T09:33:06 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't handle install and install-am. * install.am: Do it.
Akim Demaille a57c0827 2001-02-26T09:30:02 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't work on targets handled by %dependencies. (&handle_factored_dependencies): Do it. * install.am: Install install-exec, install-data and uninstall's suites.
Akim Demaille ecc38223 2001-02-26T09:23:43 * automake.in (&handle_merge_targets): Move `install-strip' from here... * install.am: to here.
Akim Demaille f722556f 2001-02-26T09:14:43 * automake.in (@installdirs): Remove. (&file_contents): Be able to grow Automake macros with `+='. (&handle_texinfo, &handle_man_pages, &am_install_var): Let your files define _am_installdirs. (&handle_installdirs): Remove the code, just output `install.am'. * install.am: New. * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am, * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
Tom Tromey 1f2c7e01 2001-02-26T02:04:55 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr> * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
Akim Demaille c44ceec2 2001-02-25T18:15:13 * automake.in: Mying changes. * Makefile.am (maintainer-check): Check the stability of the number of uses of `local'.
Akim Demaille b8a2f0f9 2001-02-25T18:04:29 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var): Don't deal with install-data-am, install-exec-am and unstall-am. (&initialize_per_input): Add them to %dependencies. Remove %exec_dir_p since the *.am files are now in charge of it. Remove @uninstall, @install_data, @install_exec. (&handle_merge_targets): Adjust to these removals. (&file_contents): Also &transform_cond for --no-installman and --no-installinfo. (&do_one_merge_target): Add some magic to install hooks on %dependencies' targets. (%required_targets): New. (&handle_factored_dependencies): Output required targets. * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am, * mans-vars.am, mans.am, progs.am, python.am, scripts.am, * texinfos.am: Declare your dependencies on install-data-am, install-exec-am and uninstall-am. * tests/instdata2.test (incldata_HEADERS): New test.
Tom Tromey 3773f48b 2001-02-25T04:37:52 * Makefile.am (amfiles): Added texibuild.am. * texibuild.am: New file. * tests/Makefile.am (TESTS): Added texinfo9.test. * tests/texinfo9.test: New file. * automake.in (handle_texinfo): Keep track of suffixes used. Give error if suffix unrecognized. Removed extraneous newline.
Akim Demaille 876f65e3 2001-02-23T15:06:52 * automake.in: Formatting and mying changes.
Akim Demaille 33705e1b 2001-02-23T15:03:52 * automake.in (&handle_man_pages): Let install-man and uninstall-man be handled by the dependency tracker. (&initialize_per_input): Let %dependencies track them. * mans.am: Add the needed hooks with the proper dependencies.
Pavel Roskin 53f983dd 2001-02-21T15:36:29 * header-vars.am: Remove tabs before variable definitions.
Akim Demaille 7a0defee 2001-02-21T08:35:51 * dist-vars.am: Remove, merge into... * distdir.am: this. * automake.in (dirname, basename, backname): Move at the top of the file so that prototypes are checked, Use them without `&'. (&handle_dist): Adjust.
Akim Demaille fdc3bf40 2001-02-21T08:30:56 * automake.in ($top_builddir): Remove, used in one place. (&define_standard_variables): Adjust. Move the definition of triplet variables into... * header-vars.am: here.
Akim Demaille 539e1d30 2001-02-21T08:28:03 * automake.in (&handle_tests_dejagnu): Move the definition of a default `site.exp' into... * dejagnu.am (site.exp): here. Use DOS compliant file names.
Akim Demaille 88e17dc5 2001-02-21T08:26:34 * dist.am: Remove, merge into... * distdir.am: here. Use the neat sed snippet for banners. BTW, distcheck is phony. * automake.in (&handle_dist_worker): Remove, merge into... (&handle_dist): this. (&file_contents): Strip leading new lines. Be sure to end comments with new lines.
Akim Demaille 9bd6e61e 2001-02-21T08:22:25 * distdir.am (GZIP_ENV): Define. * automake.in (&handle_dist): Don't. (&uniq): New. (&handle_dist_worker, &am_install_var): Use it.
Akim Demaille 964ec5a0 2001-02-21T08:21:43 * distdir.am (distdir): Handle the DIST-TARGETS. * automake.in (&handle_dist_worker): Don't.
Akim Demaille dce352b1 2001-02-21T08:20:40 * distdir.am (distdir): Be sure to have permissive rights on its contents. (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional targets. And BTW, all these guys are phony. * automake.in (&handle_dist_worker): As its name doesn't indicate, output distributions. (&handle_dist): As its name doesn't indicate, don't. (&initialize_global_constants): Don't define variables which content is now handled by distdir.am. But register `dist-all' as a factored target. (&handle_factored_dependencies): Don't output empty targets.
Tom Tromey eb0b1538 2001-02-18T00:35:19 2001-02-17 Tom Tromey <tromey@redhat.com> * automake.in (handle_merge_targets): Use double quotes around setting of INSTALL_STRIP_PROGRAM. * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM to absolute path at runtime. (AM_PROG_STRIP): Don't explicitly test $STRIP. 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr> * m4/strip.m4: New file. * m4/Makefile.am (m4data_DATA): Add strip.m4. * m4/init.m4: Call AM_PROG_INSTALL_STRIP. * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function. (AM_MISSING_INSTALL_SH, AM_MISSING_HAS_RUN): Use $am_aux_dir instead of $ac_aux_dir, and require AM_AUX_DIR_EXPAND. * m4/depend.m4 (AM_DEP_TRACK): Likewise. * automake.in (handle_merge_targets): In the install-strip rule, set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG. * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV, don't use INSTALL_STRIP_FLAG any longer. * header-vars.am (INSTALL_STRIP_FLAG): Remove. (INSTALL_PROGRAM_ENV): New variable.
Tom Tromey 26aeaaa1 2001-02-16T06:48:01 * config.guess, config.sub: New versions from FSF. * Makefile.am (WGET): New macro. (FETCHFILES): New macro. (fetch): New target.
Tom Tromey 4fe13daa 2001-02-14T02:33:43 * automake.in (do_one_merge_target): Always register $name and $name-am as phony.
Tom Tromey b4e12308 2001-02-09T21:52:30 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
Tom Tromey 8de13de5 2001-02-09T07:06:53 Clean up maintainer-check warnings: * Makefile.am (maintainer-check): Ignore comment lines in CDPATH check. * automake.in (handle_dist_worker): Removed redundant `my $xform'.
Akim Demaille 4ec2083b 2001-02-09T03:38:16 * automake.in (&transform): Use `my', not `local'. (&transform_cond): New. (&get_object_extension, &handle_texinfo, &handle_tags) (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean) (&handle_tests_dejagnu): Use it. * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
Tom Tromey b46ae388 2001-02-08T06:36:14 * lisp.am (install-@DIR@LISP): Removed extra space. * header.am (install-@DIR@HEADERS): Removed extra space. * data.am (install-@DIR@DATA): Removed extra space.
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 279adc2a 2001-02-06T09:08:56 * automake.in (do_one_clean_target): Don't hard code knowledge about libtool, and maintainer-clean. * clean.am, libtool.am: Handle these.