Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| f5d5e459 | 2009-11-14 14:05:38 | Distribute the Automake bootstrap script. * Makefile.am (EXTRA_DIST): Add bootstrap. Report by Jan Engelhardt. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| e58e5b45 | 2009-10-31 17:47:58 | Don't let an envvar setting of "$fail" cause build failure. Without this change, in a project using an automake-generated Makefile, "make fail=anything" would fail inappropriately, due to the `test -z "$$fail"' at the end of this emitted rule: * lib/am/subdirs.am ($(RECURSIVE_TARGETS)): Initialize "fail=" to keep an envvar setting of that variable from causing unwarranted failure. ($(RECURSIVE_CLEAN_TARGETS)): Likewise. * tests/subdir10.test: New test. * tests/Makefile.am: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 3b46760c | 2009-10-17 10:18:45 | Sync auxiliary files from upstream. * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from upstream. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 8d677911 | 2009-10-17 10:15:18 | Doc and comment typos. * automake.in (handle_ltlibraries): Fix typo in comment. * tests/distcom7.test: Likewise. * tests/lisp5.test: Likewise. * doc/automake.texi (Usage of Conditionals): Fix typo. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| aca5bd4d | 2009-10-11 16:58:27 | Fix race condition in werror2.test due to sanity sleep change. * tests/werror2.test: Generate Makefile.in before configure so that a Makefile.am update after configure has run is guaranteed to be newer than Makefile.in. * tests/subdir5.test: Document why this test does not need to be fixed. * tests/subdir8.test: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| f3b4702d | 2009-10-11 13:44:37 | Improve description of the various *LINK variables. * doc/automake.texi (Program and Library Variables): _LINK also receives libraries to link against. _LINK may be generated. (Program Variables): Document reasons when per-target _LINK is used instead of LINK. (How the Linker is Chosen): Document how a per-target _LINK variable and per-target link flags override linker selection. * THANKS: Update. Report by Dave Korn against gcc/libstdc++-v3. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| c2594bb5 | 2009-10-11 13:33:43 | Allow variable override of, rather than by, silent variables. When overriding variables, check the VAR_SILENT status of the old condition, not the new one: we allow non-silent overrides of silent variables (these do not hit ordering bugs in the automake output), but there is no use case for doing so the other way round. Fixes conditional overrides of variables annotated AM_SUBST_NOTMAKE in configure.ac. * lib/Automake/Variable.pm (_check_ambiguous_condition): Check for VAR_SILENT in $ambig_cond not $cond. * tests/cond44.test, tests/cond45.test: New tests, analogous to cond23.test and cond24.test. * tests/Makefile.am: Update. Spotted originally in binutils/bfd. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 734beb43 | 2009-10-11 13:28:31 | Fix `make clean check' for the Automake package. * lib/Automake/Makefile.am (SUBDIRS): Add `.' before `tests', so that Config.pm is built first. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| df239f7b | 2009-10-11 13:23:11 | Fix in-tree `recheck' after failed test that runs `check'. If a test like pr401b-p.test fails for some reason, a `make recheck' would cause another reason for failure because it sets AM_MAKEFLAGS which gets propagated into the test and causes its `make check' to fail. * tests/defs.in: Also unset AM_MAKEFLAGS. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| c8f5f47c | 2009-10-08 22:57:26 | Updated code enabling Bourne-compatibility in test scripts. * tests/defs.in: updated the code enabling Bourne-compatibility mode in the shell (now it's copied from autoconf 2.64). Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 9d695ce3 | 2009-10-08 22:42:13 | Avoid leaking TEST_LOG_COMPILER in environment of test scripts. * tests/defs.in: Unset variable `TEST_LOG_COMPILER'. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| b7810f03 | 2009-10-06 17:01:23 | Testsuite: do not use `chmod -R' when cleaning up. * tests/Makefile.am (clean-local-check): Do not use `chmod -R' on the test directories, as that may change or try to change the mode of installed files: the test directory may contain symlinks to ltmain.sh files from a Libtool installation, and Solaris `chmod -R' touches symlink targets. Instead, use the cleanup strategy used in distdir.am (which is also employed in tests/defs.in). Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 97187828 | 2009-10-06 22:03:33 | Fix 'compile' script to not call mv when target equals source. * lib/compile: Don't attempt to move the generated file to its target destination when it is already at the target destination. Avoids an mv failure with subdir-objects. * tests/ccnoco3.test: New test. * tests/Makefile.am: Adjust. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 674ee2f4 | 2009-10-04 15:27:49 | Fix recommended way to run test scripts with Zsh * tests/README (Supported shells): Changed the recommended way to run automake's test scripts with Zsh. Now we tell to use the Zsh's command line option `-o no_function_argzero', not `--no-function-argzero', since the latter does not work with versions 3.x of Zsh. | ||
| 689a2b1b | 2009-09-18 20:13:14 | Update git attributes for texinfo files. * .gitattributes: Annotate *.texi* files for texinfo diff. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| d5441f98 | 2009-09-18 20:11:36 | Fix link to "Recursive Make Considered Harmful" paper. * doc/automake.texi (Alternative): Fix broken URL. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 11e738d4 | 2009-09-11 19:41:22 | Fix outdated reference to sh-utils in the manual. * doc/automake.texi (Options): The reference to `sh-utils' should be to `coreutils'. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| f6b3f7fb | 2009-09-06 13:06:32 | Avoid sleeping for one second most of the time in sanity check. * m4/sanity.m4 (AM_SANITY_CHECK): Try sanity check first without sleeping for a second, and only if that failed, sleep and try again, to avoid the delay in the common case of a configure script that is older than a second, or a system with sub-second time stamp granularity. Report and different patch by Jim Meyering. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 53fe0202 | 2009-09-06 12:52:33 | tests/README: warn about zsh incompatibilities. * tests/README (User interface, Getting details from failures): Explicitly state that every test is a "shell script", not just a "script", and that it's run by `/bin/sh' by default. * tests/README (User interface, Supported shells): New subsection, telling about expected portability of the automake test scripts, describing a zsh incompatibility (w.r.t. $0), and a workaround to it (with the `--no-function-argzero' option). Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 99368830 | 2009-09-02 00:52:38 | testsuite: fix a minor glitch. * tests/defs.in (exit trap): Use `$me', not `$as_me', as the name of the current test (used in error messages). * THANKS: Update. | ||
| 37bd57c8 | 2009-07-08 21:24:26 | manual: fix a trivial grammar error. * doc/automake.texi (Invoking aclocal): Fix grammar. | ||
| cc17cffc | 2009-06-07 08:03:08 | AM_PROG_GCJ: use AC_CHECK_TOOLS for gcj, for cross compilation. * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_TOOLS, rather than AC_CHECK_PROGS, when searching for `gcj'. * NEWS: Update. Report by Jack Kelly. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 88eb57b7 | 2009-05-24 16:38:33 | AM_PROG_GCJ currently fails to define OBJEXT and EXEEXT. * tests/gcj6.test: New test. * tests/Makefile.am: Update; mark gcj6.test as XFAIL. * THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 218e678b | 2009-05-24 09:03:00 | parallel-tests: avoid GNU make 3.80 substitution bug. * lib/am/check.am [PARALLEL_TESTS] (check-TESTS): Remove any `.log' entries from `$(TEST_LOGS)' even if the list is nonempty, to work around GNU make 3.80 substitution reference issue with trailing white space in the variable. * tests/parallel-tests10.test: New test. * tests/parallel-tests6.test: Update comment. * tests/Makefile.am: Update. * NEWS: Update. Report by Bob Friesenhahn. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 77c93b3e | 2009-05-23 23:08:31 | testsuite: unset installation directory variables. * tests/defs.in: Before test execution, be sure to unset all installation directory variables, so they cannot have an effect on a `make -e install' command within a test. Report by Dagobert Michelsen. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| d9bd0090 | 2009-05-23 23:05:17 | testsuite: do not change the mode of installed Libtool files. * tests/defs.in: Do not use `chmod -R' on the test directory, as that may change or try to change the mode of installed files: the test directory may contain symlinks to ltmain.sh files from a Libtool installation, and Solaris `chmod -R' touches symlink targets. Instead, use the cleanup strategy used in distdir.am. * NEWS: Update. Report by Dagobert Michelsen. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| edf54356 | 2009-05-23 22:54:15 | testsuite: do not fail in cleanup code. * tests/defs.in: Turn off errexit in the cleanup trap, to avoid a test failure due to a nonzero command. * THANKS: Update. Report by Dagobert Michelsen. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 6d44a667 | 2009-05-23 22:13:14 | python: do not install in system directories on Darwin 9. On Darwin 9, get_python_lib returns a path below `/Library/Python' regardless of the `prefix' argument it was passed, causing `make install' to target the system directories regardless of `--prefix' argument used. Work around this Darwin bug by ignoring the result of get_python_lib if it points outside of the passed prefix, and the prefix was not a system directory. * m4/python.m4 (AM_PATH_PYTHON): If the prefix does not match the initial portion of the pythondir returned by get_python_lib, then ignore it unless the configured prefix is `/usr' or starts with `/System'. Fixes instmany-python.test failure on Mac OS X 10.5.7. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 32e88686 | 2009-05-23 22:06:07 | Clarify how to enable `silent-rules' and other global options. * doc/automake.texi (Options): When introducing options, be more careful to note that not all of them can be specified in AUTOMAKE_OPTIONS statements, and that some do not make sense in subdirectories. Note more prominently that `silent-rules' can only be specified in configure.ac. * lib/Automake/Options.pm (_process_option_list): Improve error message for `silent-rules', `tar-v7', `tar-ustar', `tar-pax' options specified in Makefile.am files. Report by Bruno Haible. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 639f95c3 | 2009-05-21 17:17:10 | Skip specflg10.test without a C++ compiler. * tests/specflg10.test: Require g++. Report by Thien-Thi Nguyen. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 2da14d75 | 2009-05-19 07:49:27 | Revert last patch, IRIX has an editor named `jot'. * tests/instmany-mans.test: Do not try `jot'. * tests/instmany-python.test: Likewise. * tests/instmany.test: Likewise. Report by Peter O'Gorman. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 23aa3dbb | 2009-05-18 20:57:05 | testsuite: also try `jot' as `seq' replacement. * tests/instmany-mans.test: Try BSD `jot' before resorting to a slow but portable shell loop. * tests/instmany-python.test: Likewise. * tests/instmany.test: Likewise. Suggestion by Peter O'Gorman. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| c87d38b4 | 2009-05-18 20:52:59 | Fix test failure when pkg.m4 is not found, only pkg-config. * tests/vala5.test: Update comment, this test is not expected to fail any more. Require valac version 0.7.0. Skip if configure fails, could be due to unexpanded PKG_CHECK_MODULES or too old valac. Report by Simon Josefsson. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 2505a3e3 | 2009-05-17 16:25:01 | Version 1.11. * configure.ac: Bump version to 1.11. * doc/automake.texi (Releases): Add line for 1.11. Remove line for 1.10b. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 43ec8aec | 2009-05-17 15:51:21 | Fix maintainer-check failures. * automake.in (lang_vala_finish_target): Use `$(am__cd)' instead of plain `cd'. * tests/vala2.test: Use `rm -f' instead of `rm'. | ||
| fcf2f560 | 2009-05-17 15:32:40 | Revert Automake license to GPLv2+. Automake will move to GPLv3+ once the Exception statement has been rewritten to use the new GPLv3 exception language. This change does not impact the COPYING file that may be installed by `automake --add-missing'. * COPYING: Revert to GPLv2. All uses changed. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 65f53cc1 | 2009-05-17 15:15:43 | Rewrite NEWS for 1.11. * NEWS: Rewrite, merging 1.10b and 1.10c entries. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 7fa2890c | 2009-05-17 14:13:44 | Sync auxiliary files from upstream. * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from upstream. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 5ad5fdf4 | 2009-05-17 14:12:24 | Update release statistics, improve release-stats rule. * Makefile.am (release-stats): Output stderr of pstops in addition to catching it, for better debugging. * doc/automake.texi (Releases): Add line for 1.10.2. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 0e411a04 | 2009-05-17 12:03:47 | Cope with parallel BSD make -jN semantics. When BSD `make -jN' is used without `-B' which enables backwards compatible semantics, it may reuse the same shell for several commands within a rule; so ensure we do not leave it in a different directory, nor `exit 0' early in a multi-command rule. * lib/am/distdir.am (distcheck): After running `distcleancheck', change back to original working directory. * lib/am/remake-hdr.am (%CONFIG_HIN%): Run autoheader in a subshell. * lib/am/mans.am (uninstall-man%SECTION%): Do not `exit 0' early in a rule that consists of several shell invocations. Parallel NetBSD `make -jN' without `-B' will use only one shell for all commands, but won't respawn one after `exit 0'. Fixes notrans.test failure. * tests/makej2.test: New test. * tests/Makefile.am: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| de458bcc | 2009-05-17 11:55:14 | Fix typo in comment. * lib/am/install.am: Fix typo. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 6cfa5cb8 | 2009-05-17 11:29:16 | Let AM_PATH_PYTHON honor python's idea about the site directory. * m4/python.m4 (AM_PATH_PYTHON): When computing pythondir and pyexecdir, pass the expanded prefix resp. exec_prefix as `prefix' to get_python_lib, so python can determine the name of the site directory depending on the install location. Afterwards, replace the directory names with the unexpanded values of $PYTHON_PREFIX resp. $PYTHON_EXEC_PREFIX again, to allow override according to the documentation. Fixes site directory computation for Debian and Ubuntu (`dist-packages' for a prefix of `/usr' or `/usr/local', `site-packages' elsewhere). * NEWS, THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 0619d409 | 2009-05-17 10:26:15 | Vala: for now, require GNU make. * doc/automake.texi (Vala Support): GNU make is currently required for Vala sources. * tests/vala2.test, tests/vala3.test, tests/vala5.test: Require GNU make. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 1776fe39 | 2009-05-15 15:51:03 | Vala: Use $(srcdir) in rebuild rules. valac is always run in srcdir as the generated files are distributed. So srcdir needs to be taken into account in the rebuild rules to not wrongly trigger a rebuild in the wrong directory. * automake.in (lang_vala_finish_target): Rebuild files in $(srcdir). * tests/vala2.test: Test rebuild rules from VPATH build. Signed-off-by: Jürg Billeter <j@bitron.ch> Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| b9d83737 | 2009-05-15 15:50:59 | Vala: Add and test rebuild rules for generated header and vapi files. valac will generate additional files when using, for example, -H in VALAFLAGS. We need to recognize these options and add appropriate rebuild rules to fix parallel build. * automake.in (lang_vala_finish_target): Recognize -H, -h, --header, --internal-header, --vapi, --internal-api, --gir flags to valac and rebuild rules for generated headers; distribute and maintainer-clean them. * tests/vala2.test: Test rebuild rules. Signed-off-by: Jürg Billeter <j@bitron.ch> Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| b629ff7b | 2009-05-17 10:14:13 | Vala: Fix build when using per-target VALAFLAGS. This does not yet implement full per-target support for VALAFLAGS, however, this change at least fixes building when there is only one target per source file, which is the most common situation. * automake.in: Remove `VALAFLAGS' from `flags' in language struct. (lang_vala_finish_target): Handle `*_VALAFLAGS rewriting' manually here; check `VALAFLAGS' user variables. * tests/Makefile.am (XFAIL_TESTS): Remove vala5.test. * doc/automake.texi (Vala Support): Document per-target flag limitations. Signed-off-by: Jürg Billeter <j@bitron.ch> Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 27f63d48 | 2009-05-12 00:15:43 | Document some formatting restrictions for Makefile.am files. For PR automake/540: * doc/automake.texi (General Operation, Usage of Conditionals): Variable assignments should not be indented by TABs, rule commands should. Conditional keyword statements should not be indented. Report by luoyi.ly@gmail.com. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| b6bebfca | 2009-05-03 09:59:21 | Fix copyright years in *.am files. * lib/am/check.am, lib/am/check2.am, lib/am/distdir.am, lib/am/program.am, lib/am/tags.am: Fix copyright years. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 553f13a3 | 2009-05-03 09:47:58 | distdir: avoid duplicate `find' traversal with subpackages. * lib/am/distdir.am (distdir) [%?SUBDIRS%]: When recursing, set `am__skip_mode_fix'. [%?TOPDIR_P%]: When `$(am__skip_mode_fix)' is set, avoid tree walk. * tests/subpkg4.test: New test, to ensure that we still walk the whole tree while fixing permissions. We don't ensure it is walked once only. * tests/Makefile.am: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 9fe82598 | 2009-05-03 09:32:44 | Disable test cleanup trap with OSF1/Tru64 sh. * configure.ac: Test whether /bin/sh has working 'set -e' in conjunction with an exit trap. Set $am_cv_sh_errexit_works accordingly, substitute sh_errexit_works, and warn about leftover test directories with broken shells like Tru64 /bin/sh. * tests/defs.in: Do not install any traps with broken shells. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 763de95b | 2009-05-02 09:26:58 | Recommend *-local hooks without commands, for extensibility. * doc/automake.texi (Clean): Show how to write the clean-local extension with separate phony target. * tests/Makefile.am (clean-local-check): Practice what we preach by marking this phony. For consistency, rename from ... (check-clean-local): ... this. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| f68743fb | 2009-04-28 15:19:41 | scripts: normalize all timestamps to UTC * lib/compile (scriptversion): Update emacs hook. * lib/depcomp (scriptversion): Likewise. * lib/elisp-comp (scriptversion): Likewise. * lib/gnupload (scriptversion): Likewise. * lib/install-sh (scriptversion): Likewise. * lib/mdate-sh (scriptversion): Likewise. * lib/missing (scriptversion): Likewise. * lib/mkinstalldirs (scriptversion): Likewise. * lib/py-compile (scriptversion): Likewise. * lib/ylwrap (scriptversion): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net> | ||
| ebd8c6da | 2009-04-27 22:26:04 | silent-rules: fix alignment of less verbose output. * automake.in (define_verbose_var): Define `$silent_var' as VAR_ASIS, not VAR_PRETTY, to avoid squashing of multiple adjacent spaces. * tests/silent.test: Amend test. Report by Jan Engelhardt. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 642786a5 | 2009-04-25 14:45:24 | manual: fix trivial grammar errors. * doc/automake.texi (Subpackages, Vala Support, Java) (Checking the Distribution, Timeline): Fix `a' vs. `an' errors and duplicate `the'. Report by Eric Blake. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 3ebd4b8c | 2009-04-25 10:48:11 | Indent rule commands consistently with a TAB. * lib/am/check.am ($(TEST_SUITE_LOG)): Consistently use TAB, not spaces, for indentation of commands, even if indentation may not be needed at all. * lib/am/texinfos.am (install-info-am): Likewise. * THANKS: Update. Prompted by report from John Calcote. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 68ce3ae9 | 2009-04-25 10:43:09 | parallel-tests: fix recheck* targets for non-GNU make. * lib/am/check.am (recheck recheck-html): Override AM_MAKEFLAGS to portably transport the TEST_LOGS settings through the recursive `make' invocations. Fixes parallel-tests9.test failure with Solaris make. * tests/parallel-tests9.test: Also ensure that the test summary is correct for `recheck'. Suggestion by Akim Demaille. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 4f2950ac | 2009-04-22 22:13:05 | Avoid racy depmodes with universal builds. * m4/depend.m4 (_AM_DEPENDENCIES): If universal builds are used, avoid racy depmodes. * lib/depcomp: Ignore `-arch' argument for makedepend depmode. Report by Bruno Haible, analysis by Bruno Haible, Peter O'Gorman, and Eric Blake. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 07939c25 | 2009-04-21 20:52:23 | Fix link to autotools tutorial. * doc/automake.texi (Autotools Introduction): Fix broken link. * THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| e37e045a | 2009-04-19 17:57:23 | testsuite: minor w32 fixes. * tests/depend5.test: Don't fail if the system or file system cannot handle weird characters, instead just try a few. * tests/parallel-tests3.test: Really wait until the serial test has finished, before letting the cleanup trap do its work. Report by Bruno Haible. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 8bc5b079 | 2009-04-19 17:39:03 | Avoid nonportable `./FILE' instead of `FILE' in test. * tests/libtool3.test: Do not use `$(top_builddir)/sub/libname.la' in *_LDADD entry if `$(top_builddir)' is `.'. Fixes test failure with parallel NetBSD make. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 45060dd0 | 2009-04-19 17:10:25 | Detect make `include' style also with parallel non-GNU make. Parallel NetBSD make outputs `--- $target ---' messages, parallel HP-UX make outputs `Making target"$target"'. Just ignore all additional output for the include test. * m4/make.m4 (AM_MAKE_INCLUDE): Ignore additional output produced by `make' to relax `include' style detection. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 0b77cd4e | 2009-04-18 23:03:17 | manual: add FAQ `Debugging Make Rules'. * doc/automake.texi (Debugging Make Rules): New FAQ section. (Top, FAQ): Adjust menus, and capitalization of the description of the `Hard-Coded Install Paths' node. (Multiple Outputs): Add comment to restore font-lock for vim. Suggestion by Karl Berry. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| e33f5550 | 2009-04-19 12:46:36 | Let XFile::lock warn and fail with parallel non-GNU make, too. * lib/Automake/XFile.pm (lock): Also match `-j' for parallel BSD make, and `-P' for parallel HP-UX make. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 3bca4dc8 | 2009-04-19 09:47:01 | Fix AM_PROG_VALAC version requirement detection. * m4/vala.m4 (AM_PROG_VALAC): Remove `Vala ' from valac --version string before comparing versions. * tests/vala2.test: Require version 0.7.0 for the test. Fixes failures of vala2.test and vala3.test with older valac. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| c5635fa6 | 2009-04-19 02:19:20 | Correctly treat all assignments with bogus trailing comments. Before this patch, automake would silently fail to diagnose and to copy into the output those variable assignments which are preceded by a comment, and end in backslash newline comment. * automake.in (read_am_file): When determining whether an escaped newline followed by a comment is an error, correctly use the parser state, not the contents of a saved comment, which could still be carried over from a comment before an assignment. * NEWS: Update. * tests/commen11.test: New test. * tests/Makefile.am: Update. Report by Karl Berry. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| ef895abc | 2009-04-19 08:50:46 | Merge branch 'next' * next: (64 commits) More minor fixups to vala support. Improve Vala support. testsuite: do not fail on systems without read permissions. testsuite: parallel make fixes. silent-rules reorganization, --enable-silent-rules switch. manual: Add note about parallelism and tests ordering. Fix maintainer-check failure. parallel-tests: more testsuite exposure. parallel-tests: let VERBOSE=yes output appear before summary. parallel-tests: `clean recheck' should not rerun all tests. parallel-tests: Fix driver for nonempty executable extension. Fix a couple of $(EXEEXT)-related testsuite failure. Document last change in NEWS. Fix renamed objects with subdir-objects and other languages. Do not remove texinfo outputs upon mostlyclean. testsuite: unset TESTS, TEST_LOGS, to avoid interference. testsuite: generate $(parallel_tests) just when needed. Remove superfluous line from recheck recheck-html. parallel-tests: redo check-html, recheck, recheck-html. parallel-tests: LOG_COMPILER for tests without known extension. ... | ||
| ad9df850 | 2009-04-19 08:09:13 | Merge branch 'mh-vala-support' into next * mh-vala-support: More minor fixups to vala support. Improve Vala support. Minor fixups for Vala support. Support Vala in non-recursive builds; more tests and fixes. Initial support for the vala programming language. | ||
| 00db1950 | 2009-04-19 08:06:51 | More minor fixups to vala support. * automake.in (lang_vala_finish_target): Fix typo in comment. * doc/automake.texi (Vala Support): Fix typo. Declare vala support as "initial". * NEWS: Likewise, declare vala support as "initial". Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 62796cb9 | 2009-04-05 15:16:48 | Improve Vala support. * automake.in: Update to Vala 0.7.0 semantics, recover from removal of built sources, support silent-rules, drop _PKGNAME variables * doc/automake.texi, NEWS: Update. * lib/am/vala.am: Bump copyright years. * m4/vala.m4: Likewise. * tests/vala.test: Remove obsolete grep tests. * tests/vala1.test: Likewise. * tests/vala2.test: Test full build, distcheck, and distclean. * tests/vala3.test: Likewise, also test with subdir-objects. * tests/vala4.test: Bump copyright years. * tests/vala5.test: New test for per-target flags, expected to fail. * tests/Makefile.am: Update. * THANKS: Update. Signed-off-by: Jürg Billeter <j@bitron.ch> Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 6c4b250d | 2009-04-19 07:59:42 | Merge branch 'next' (early part) into mh-vala-support * 'next' (early part): (135 commits) parallel-tests: LOG_COMPILER for tests without known extension. More node renaming in the manual. Fix instdir-java.test failure. Fix testsuite failures due to nonexistent `dirlist' entries. Fix typo in manual. Avoid test failure due to paranoid TAR_OPTIONS envvar setting. Use more common spelling in diagnostic: s/canonic/canonical/. Post-release version bump. Version 1.10b. Minor NEWS update. Reorganize nodes in the manual. Update AM_RECURSIVE_TARGETS for parallel-tests. parallel-tests: New target recheck-html. Rewrite maintainer-check in separate tests, parallelizable. Fix maintainer-check failure. Fix latex warning in manual. Sync auxiliary files from upstream. parallel-tests: redo lazy checking: recheck and RECHECK_LOGS. parallel-tests: do not mark check-TESTS as `.MAKE'. parallel-tests: warn about $(srcdir), $(top_srcdir) in TESTS. ... | ||
| 4e9c77ba | 2009-04-14 23:42:14 | testsuite: do not fail on systems without read permissions. * tests/instfail-info.test: Do not use the `non-root' requirement for testing whether files may be made unreadable; instead use `test -r' and skip the test if that still works. * tests/instfail-java.test: Likewise. * tests/instfail-libtool.test: Likewise. * tests/instfail.test: Likewise. * tests/instmany-mans.test: Likewise. * tests/instmany-python.test: Likewise. * tests/instmany.test: Likewise. * tests/parallel-tests9.test: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 1cf48284 | 2009-04-14 23:09:15 | testsuite: parallel make fixes. This patch fixes a couple of testsuite bugs exposed with `MAKE=make\ -jN make check'. * tests/libtoo10.test: Do not run `clean' in same $MAKE invocation as `all check'. Fixes test failure with parallel NetBSD `make -jN'. * tests/nobase.test: Be sure to create a directory before creating files in it. Fixes test failure with MAKE=`make -jN' for NetBSD make. This issue is hidden with parallel GNU make due to its parallel breadth first update order. * tests/parallel-tests3.test: Skip if $MAKE contains `-j', GNU make will use the environment variable $MAKE for recursion and thus run in parallel even if `$MAKE -j1' was used on the command line in the test. Also, after running the test proper, wait long enough so that background jobs have finished and there are no open files left when the cleanup code runs. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 32386e0d | 2009-04-14 21:43:08 | manual: improve markup: itemize list in `Extending'. * doc/automake.texi (Extending): Use `@item's for user override semantics. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 2c74a340 | 2009-04-13 23:17:39 | silent-rules reorganization, --enable-silent-rules switch. This patch introduces a configure-time option to set the default verbosity. Since configure now needs to know whether the `silent-rules' automake option was set, the latter can only be set within AM_INIT_AUTOMAKE, or with a new AM_SILENT_RULES macro but not any more through AUTOMAKE_OPTIONS or the automake command line option `--silent-rules'. * automake.in (define_verbose_var): Define the default verbose variable in terms of `$(AM_DEFAULT_VERBOSITY)'. (handle_configure): Do not pass `--silent-rules' to automake. (scan_autoconf_traces): Trace `AM_SILENT_RULES'. If seen, enable global `silent-rules' option. (usage): Do not document `--silent-rules'. (parse_arguments): Do not accept `--silent-rules'. * doc/automake.texi (Options): Overhaul. Document AM_SILENT_RULES, --enable-silent-rules, --disable-silent-rules, AM_DEFAULT_VERBOSITY. Show an example for user-added variables for less verbose output. (Invoking Automake): Remove documentation for `--silent-rules'. (Public Macros): Document `AM_SILENT_RULES'. * NEWS: Update. * lib/Automake/Options.pm (_process_option_list): Accept `silent-rules' only as option in configure.ac. * m4/init.m4 (AM_INIT_AUTOMAKE): If the `silent-rules' option was enabled, require `AM_SILENT_RULES'; move AM_BACKSLASH initialization to ... * m4/silent.m4 (AM_SILENT_RULES): ... this new file, new macro. Deal with `--enable-silent-rules' switch; define AM_DEFAULT_VERBOSITY. * m4/Makefile.am (dist_m4data_DATA): Add silent.m4. * tests/dollarvar.test: Remove tests for `--silent-rules', use `AM_SILENT_RULES'. * tests/flavor.test: Remove test for `--silent-rules'. * tests/silent.test: Use `AM_SILENT_RULES' instead of `AUTOMAKE_OPTIONS = silent-rules'; use `--enable-silent-rules'. * tests/silent2.test: Likewise. * tests/silent3.test: Likewise. * tests/silent4.test: Likewise. * tests/silent5.test: Likewise. * tests/silent6.test: Likewise. Test `AM_SILENT_RULES' as well as `AM_INIT_AUTOMAKE([silent-rules])' instead of `--silent-rules'. * tests/silent7.test: Use `AM_SILENT_RULES' instead of `AUTOMAKE_OPTIONS = silent-rules'; ensure the latter is rejected. Test combinations of --enable-silent-rules and --disable-silent-rules with `make V=0' and `make V=1'. Suggestion for configure-time switch by Bob Friesenhahn. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 2e959a81 | 2009-04-13 13:36:19 | manual: Add note about parallelism and tests ordering. * doc/automake.texi (Simple Tests using parallel-tests): Dependencies between test logs work for tests with known extensions only. Hint that tests should be prepared to be run in parallel. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| ba6bb312 | 2009-04-13 13:35:06 | Fix maintainer-check failure. * tests/suffix13.test: Use Exit not exit. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 12856eb2 | 2009-04-13 13:29:25 | bin_PROGRAMS = $(EXTRA_PROGRAMS) should work. * automake.in (am_install_var): For `PROGRAMS' primary, strip `$(EXEEXT)' here already, so the name uniquifying works even when we look at names repeatedly, with inconsistent executable extension; through variable references, we might have added the extension ourselves earlier. (handle_programs): No need to strip `$(EXEEXT)' here any more. * tests/extra8.test: New test. * tests/Makefile.am: Update. * THANKS: Update. Report by Daniel Richard G. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 610e9c06 | 2009-04-10 16:25:05 | Fix grammar in comments and documentation. * doc/automake.texi (API versioning): Fix grammar. * automake.in: Fix grammar in comment. * lib/Automake/ChannelDefs.pm: Likewise. * tests/ext2.test: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 03002293 | 2009-04-10 13:37:31 | parallel-tests: more testsuite exposure. * tests/parallel-tests.test: Also test overriding TEST_LOGS and TESTS. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| babf1633 | 2009-04-10 13:31:28 | parallel-tests: let VERBOSE=yes output appear before summary. * lib/am/check.am ($(TEST_SUITE_LOG)): In `VERBOSE=yes' mode, output contents of `$(TEST_SUITE_LOG)' before, rather than after the test suite summary. This ensures that the email address appears near the end of the output; also, the log file already starts with a result summary anyway. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 79f2c3e2 | 2009-04-10 13:26:16 | parallel-tests: `clean recheck' should not rerun all tests. * lib/am/check.am (recheck, recheck-html): Do not rerun all tests if `$(TEST_SUITE_LOG)' does not exist. * tests/parallel-tests2.test: Adjust recheck test. * tests/parallel-tests9.test: Adjust recheck-html test. * NEWS: Update. Suggestion by Akim Demaille. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 1692795d | 2009-04-09 00:16:35 | parallel-tests: Fix driver for nonempty executable extension. * automake.in (handle_tests): New substitution `%am__EXEEXT%', defined as 'FALSE' for non-generic rules, or if no programs are built at all. Otherwise, define it as configure conditional. * lib/am/check2.am [%am__EXEEXT%] (%EXT%$(EXEEXT).log): New conditional generic rule. * m4/init.m4: Hook an m4_provide of `_AM_COMPILER_EXEEXT' onto Autoconf's `_AC_COMPILER_EXEEXT' macro. (AM_INIT_AUTOMAKE): If `_AM_COMPILER_EXEEXT' has been provided at `AC_CONFIG_COMMANDS_PRE' time, then introduce a conditional `am__EXEEXT', defined to true iff `$EXEEXT' is nonempty. * tests/check5.test: Only match `_EXEEXT_[1-9]' here, to avoid false positives stemming from `@am__EXEEXT_TRUE@'. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| b9d841f7 | 2009-04-09 00:15:32 | Fix a couple of $(EXEEXT)-related testsuite failure. * tests/check8.test: Allow executable extensions in test suite output. * tests/check9.test: Add `$(EXEEXT)' manually to @substituted@ XFAIL_TESTS entries. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 39e207f6 | 2009-04-08 20:02:55 | Document last change in NEWS. * NEWS: Update for last patch. | ||
| dd8b2944 | 2009-04-07 23:16:01 | Fix renamed objects with subdir-objects and other languages. * automake.in: Fixed bug when building with renamed objects and foreign languages. * tests/suffix13.test: New test. * tests/Makefile.am: Adjust. * THANKS: Update. Reports by Florian Briegel and Stepan Kasal. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| aea50a7d | 2009-04-07 22:54:28 | Do not remove texinfo outputs upon mostlyclean. * lib/am/texinfos.am: New substitutions %MOSTLYCLEAN%, %MAINTCLEAN%. (clean-aminfo): New target, remove %TEXICLEAN% if nonemtpy, declare phony. Hook this target to ... (clean-am): ... this and ... (?CYGNUS?clean-info): ... this. (maintainer-clean-aminfo): Remove %MAINTCLEAN% if nonempty, for later. (mostlyclean-aminfo): Remove %MOSTLYCLEAN%. * automake.in (handle_texinfo_helper): Return three arrays $MOSTLYCLEAN, $TEXICLEAN, $MAINTCLEAN, instead of one array. Only put LaTeX helper files in $MOSTLYCLEAN, the rest in $TEXICLEAN for now. (handle_texinfo): Accept these, chop off extra newline, and substitute them in `texinfos.am'. * NEWS: Update. * tests/txinfo33.test: New test. * tests/Makefile.am: Update. Report by Bruno Haible. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 40c39365 | 2009-04-06 22:14:04 | testsuite: unset TESTS, TEST_LOGS, to avoid interference. * tests/defs.in: Unset TESTS, TEST_LOGS. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 79539c4e | 2009-04-06 22:08:30 | testsuite: generate $(parallel_tests) just when needed. * tests/Makefile.am (check_SCRIPTS): No need to list $(parallel_tests) here, they can be generated as needed during the test run, following our recommendation in the manual. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| fcf4d469 | 2009-04-06 22:02:58 | Remove superfluous line from recheck recheck-html. * lib/am/check.am (recheck recheck-html): Remove superfluous line, introduced bogusly in last commit. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 68b7dc1d | 2009-04-06 07:03:16 | parallel-tests: redo check-html, recheck, recheck-html. * lib/am/check.am (recheck, recheck-am): Remove. (recheck-TESTS): Rename to ... (recheck): ... this and rewrite, factored ... (recheck-html): ... with this rule. Pass TEST_LOGS rather than RECHECK_LOGS to `check' and `check-html', respectively, to avoid running outdated tests. Invoking the public macros ensures `check_SCRIPTS' etc. are created in time. Do not output errors for tests that were not run yet. If the testsuite has not run at all, run all tests. (check-html): Run `check' target, not `check-TESTS', to ensure `check_SCRIPTS' etc. are created in time. (.PHONY, .MAKE, AM_RECURSIVE_TARGETS): Adjust contents. * tests/parallel-tests2.test: Expose the check-html and recheck-html issues. * tests/parallel-tests9.test: Expose the recheck issues. Bugs in previous version pointed out by Akim, who already had them fixed in his original version. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 80853982 | 2009-04-04 12:14:14 | parallel-tests: LOG_COMPILER for tests without known extension. * automake.in (handle_tests): If we don't match a known extension, define `LOG_COMPILER' as `$(LOG_COMPILE) $(AM_LOG_FLAGS) $(LOG_FLAGS)' and use it as %COMPILE% in check2. * doc/automake.texi (Simple Tests using parallel-tests): Document it. In the examples, suggest using the AM_*LOG_FLAGS flags in Makefile.am rather than the variables without `AM_' prefix. * lib/Automake/tests/Makefile.am (AM_PL_LOG_FLAGS): Renamed from (PL_LOG_FLAGS): ... this variable, intended for the user. * tests/parallel-tests7.test: Extend test. * NEWS: Update. Suggestion by Akim Demaille. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| d3dbeaf9 | 2009-04-04 11:10:02 | More node renaming in the manual. * doc/automake.texi (Top): Adjust menu to ... (API Versioning): ... this node being renamed from ... (API versioning): ... this, and ... (Wildcards): ... this being renamed from ... (wildcards): ... this. Report by Karl Berry. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| f4954f56 | 2009-04-03 07:20:53 | Fix instdir-java.test failure. * tests/instdir-java.test: Don't require gcj. Skip if javac is not available. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 371b5860 | 2009-04-01 20:36:22 | Fix testsuite failures due to nonexistent `dirlist' entries. * tests/defs.in: When parsing `$aclocaldir/dirlist', only add existing directories D to aclocal `-I D' flags, as aclocal errors on nonexisting directories. Report and analysis by Andreas Schwab. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| f5ddd3b0 | 2009-03-31 21:45:14 | Fix typo in manual. * doc/automake.texi (Simple Tests using parallel-tests): Fix typo. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| ffe14af2 | 2009-03-31 21:11:06 | Avoid test failure due to paranoid TAR_OPTIONS envvar setting. * tests/txinfo18.test: Don't let a TAR_OPTIONS=--keep-old-files environment variable setting cause test failure. Fixed in texi2dvi 4.13. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 8119e99b | 2009-03-31 21:06:28 | Use more common spelling in diagnostic: s/canonic/canonical/. * automake.in (check_typos): s/canonic/canonical/. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| 72bae12c | 2009-03-31 00:54:04 | Post-release version bump. * configure.ac, NEWS: Bump version to 1.10c. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| dd363d92 | 2009-03-29 23:23:16 | Version 1.10b. * configure.ac, NEWS: Bump version to 1.10b. * doc/automake.texi (Releases): Add statistics for 1.10b. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
| d5995c41 | 2009-03-29 23:05:38 | Minor NEWS update. * NEWS: Minor update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |