kc3-lang/automake

Branch :


Log

Author Commit Date CI Message
74be0c27 2010-04-17 15:40:35 Fix typo in POD documentation of Automake::Channels. * lib/Automake/Channels.pm: Fixed typo in POD documentation: @<...> was used instead of C<...>.
85aee474 2010-04-14 13:52:51 Refactor tests on Automake TESTS color output. * tests/color.test: Tests using the expect program moved out to... * tests/color2.test: ... this new file. * tests/Makefile.am (TESTS): Extended accordingly.
17435f54 2010-04-11 22:34:18 Fix typos in comments in test confh5.test * tests/confh5.test: Fix a couple of typos in comments. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3dd1cc65 2010-04-08 18:30:29 Avoid possible false negatives in canon-name.test. * tests/canon-name.test: Enable shell `errexit' flag. Improve test description. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
b3d9df07 2010-04-11 19:56:21 Fix per-Makefile.am setting of -Werror. Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one Makefile.am would carry over to other Makefile.am files treated afterwards by the same thread, causing inconsistent and unstable exit status values. * lib/Automake/Channels.pm (dup_channel_setup) (drop_channel_setup): Save and restore the setting of $warnings_are_errors. * tests/werror3.test: New test. * tests/Makefile.am: Adjust. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
41431556 2010-04-11 19:53:35 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh. * tests/confh5.test: In the generated Makefile.am: do not use `test ! -e FILE' to check for the non-existence of a file, since that is not supported by Solarish/Heirloom Sh. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7103a606 2010-04-08 10:54:16 Make test `aclocal3.test' stricter. * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL succeds unexpectedly. Make test `aclocal3.test' stricter. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
e1b08fba 2010-03-31 23:41:01 Check that symlinks are resolved by `make dist'. * tests/distlinks.test: New test. * tests/Makefile.am (TESTS): Updated accordingly. Suggested by observations from Ralf Wildenhues. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
b410859d 2010-04-11 19:43:20 Use -9 for maximum xz compression with dist-xz. * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz. * NEWS, THANKS: Update. Report by Pavel Sanda. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
d14b29a7 2010-03-30 17:36:13 Avoid an unportable use of `$status' shell variable. * Makefile.am (path-check): Don't use the `$status' shell variable in the target's rules, as it's special in Zsh (equivalent to `$?', and readonly).
8ff479ac 2010-03-30 17:12:27 Avoid another use of `chmod -R'. * Makefile.am (path-check): To be safe, do not use `chmod -R' on $(distdir) before removing it (as Solaris `chmod -R' touches symlink targets). Instead, use the cleanup strategy used in distdir.am (which is also employed in tests/defs.in).
ebd30f30 2010-03-28 17:56:50 Remove uses of @acronym and @sc. * doc/automake.texi (Public Macros, Limitations on File Names): Remove all usage of @acronym and @sc in the manual. Suggested by Karl Berry. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
92bd8069 2010-03-13 12:18:54 GNU hello uses fdl.texi, not gpl.texi. * doc/automake.texi (Texinfo): Adjust example to upstream change. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
e937eb5a 2010-03-13 11:42:17 Fix ChangeLog entry.
18546c2c 2010-03-06 09:14:06 Formatting cleanups in macro comments. * automake.in, lib/Automake/Channels.pm, lib/Automake/FileUtils.pm, lib/Automake/Options.pm, lib/Automake/Variable.pm, lib/Automake/XFile.pm, m4/options.m4, m4/substnot.m4: Fix macro comment format. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
03449117 2010-03-04 20:22:17 Avoid generation of `tests/defs-p' file * tests/defs.in: In the generated `configure.in' snippet: call `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell variable `parallel_tests' is set to `yes'. * tests/Makefile.am (defs-p): Target removed. (check_SCRIPTS): Removed `defs-p'. (clean-local-check): Do not unlink `defs-p' anymore. ($(parallel_tests)): Transformation rules for the test scripts adjusted. * tests/gen-parallel-tests: Selection rules for the test scripts adjusted. * tests/parallel-tests.test: Set `$parallel_tests' to `yes' then include `./defs' (rather than simply including `./defs-p'). * tests/parallel-tests2.test: Likewise. * tests/parallel-tests3.test: Likewise. * tests/parallel-tests4.test: Likewise. * tests/parallel-tests5.test: Likewise. * tests/parallel-tests6.test: Likewise. * tests/parallel-tests7.test: Likewise. * tests/parallel-tests8.test: Likewise. * tests/parallel-tests9.test: Likewise. * tests/parallel-tests10.test: Likewise. * tests/README (Section "Writing Test Cases", subsection "Do"): Adjusted the parts referring to tests checking `parallel-tests' behaviour. Some other minor related improvements. * tests/.gitignore (defs-p): Removed.
f923b46e 2010-03-04 21:09:13 Remove redundant unset of variable TESTS from some test scripts. * tests/color.test: Do not unset the `TESTS' variable, as it's already unset in the `defs' file. * tests/check5.test: Likewise. * tests/check8.test: Likewise. * tests/check9.test: Likewise. * tests/check10.test: Likewise. * tests/check11.test: Likewise. * tests/parallel-tests.test: Likewise. * tests/parallel-tests3.test: Likewise. * tests/parallel-tests4.test: Likewise. * tests/parallel-tests5.test: Likewise. * tests/parallel-tests6.test: Likewise. * tests/parallel-tests7.test: Likewise.
5a67f3a5 2010-03-04 03:32:35 Fix typo in ChangeLog entry.
64399ee8 2010-02-22 22:08:43 Improve help message of mdate-sh. * mdate-sh: mention actual output format in help message. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
c84e8917 2010-02-22 18:53:51 Deprecate dist-lzma in favor of dist-xz. * doc/automake.texi (The Types of Distributions, Options): Adjust text to reflect renaming of lzma to xz. * NEWS: Update. Missing deprecation noted by Antonio Diaz Diaz. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8e5a8aae 2010-02-20 17:38:19 Add tests about support of wildcards in EXTRA_DIST. * tests/extra10.test: New test, check basic support of wildcards in EXTRA_DIST. * tests/extra11.test: New test, check more complex usage of wildcards in EXTRA_DIST. * tests/extra11.test: New test, check usage of wildcards in EXTRA_DIST when $builddir != $srcdir. * tests/Makefile.am (TESTS): Updated accordingly. Necessity of these new tests suggested by Braden McDaniel and Ralf Wildenhues. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9096695f 2010-02-08 07:32:20 Fix copyright statement in gnupload script. * lib/gnupload: Fix copyright statement. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
dbfabdfc 2010-01-30 22:21:19 Fix exit status of signal handlers in shell scripts. The value of `$?' on entrance to signal handlers in shell scripts cannot be relied upon, so set the exit code explicitly to 128 + SIG<SIGNAL>. * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler. * lib/elisp-comp: Likewise. * lib/install-sh: Likewise. * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3. * NEWS, THANKS: Update. Bug report, analysis, and initial patch by Dmitry V. Levin. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1fd9d393 2010-02-06 18:27:55 Improve gnupload usage text. * gnupload (usage): Shorten to make more likely to fit on a tty line. Mention CMD in the synopsis. With ..., plural is implied. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
f5cb540e 2010-02-06 18:21:52 Use --email with gendocs.sh. * HACKING: Set bug reporting address in gendocs.sh command.
d56acb87 2010-01-23 23:23:08 Fix some typos in the manual * doc/automake.texi (Nested Packages, Rebuilding): Fix typos. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
05a3690f 2010-01-17 14:20:15 Slighty improve tests acoutbs.test and acoutbs2.test. * tests/acoutbs2.test: Enable `errexit' shell flag. Check that autoconf and configure work, that the file `zot' is created by configure, and that no file containing a backslash in its name is created. * tests/acoutbs.test: Likewise, plus updated copyright years. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ff27d1ec 2010-01-17 14:18:39 Fix test acoutbs2.test. * tests/acoutbs2: In the generated configure.in: add proper calls to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of PACKAGE and VERSION. Add a call to aclocal before calling automake. Updated copyright years. * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
31c51b2a 2010-01-17 14:15:15 Add forgotten test scripts to $(TESTS). * tests/Makefile.am (TESTS): Added test scripts present on the filesystem, which were erroneously left out from $(TESTS): acoutbs2.test, badopt.test, extra2.test. (XFAIL_TESTS): Added acoutbs2.test. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
64161769 2010-01-17 13:48:16 Sync auxiliary files from upstream. * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub: Sync from upstream. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
72c9d14d 2010-01-17 12:08:19 Bump copyright years. * aclocal.in (write_aclocal, version): Bump copyright years. * automake.in (gen_copyright, version): Likewise. * doc/automake.texi: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
089490a8 2010-01-17 12:03:48 Rotate ChangeLog. * ChangeLog.09: New file, rotated from ... * ChangeLog: ... here. * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
f1175f85 2009-12-29 19:42:41 Fix and complete copyright notices in Makefile.am files. * Makefile.am: Use single-`#' comment for copyright notice, so that it also appears in the generated Makefile.in file. * doc/Makefile.am: Likewise. * doc/amhello/Makefile.am: Likewise. * doc/amhello/src/Makefile.am: Likewise. * lib/Automake/Makefile.am: Likewise. * lib/Automake/tests/Makefile.am: Likewise. * lib/Makefile.am: Likewise. * lib/am/Makefile.am: Likewise. * m4/Makefile.am: Likewise. * tests/Makefile.am: Add copyright notice. Report of missing copyright notice by Stefano Lattarini. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ee14239e 2009-12-27 15:52:38 Fixed typo in Makefile.am (extra semicolon removed) * Makefile.am (sc_diff_automake_in_automake): Removed an extra semicolon in target's rules, which prevented a stdout redirection from working. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
05d41b17 2009-12-21 22:24:02 Add support for newer python version * m4/python.m4 (AM_PATH_PYTHON): Add python3.1 to _AM_PYTHON_INTERPRETER_LIST. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
77d43d38 2009-12-21 22:22:31 mention ncftpput in gnupload --help * lib/gnupload: Mention ncftpput in `--help' output. Report by Bruce Korb. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
98ef3cfc 2009-12-05 15:10:11 Regenerate files with Autoconf 2.65.
8fa396f2 2009-12-05 14:45:30 Replace unlzma, gunzip, bunzip2 with pack tool -d invocation. * lib/am/distdir.am (distcheck): Use lzma -d, gzip -d, bzip2 -d, instead of the respective un$tool invocation, to avoid depending on another tool. * THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
bf1ca571 2009-12-05 14:39:15 Use $DJDIR rather than $DJGPP to detect running on DJGPP. * automake.in (Language): Use $ENV{'DJDIR'} for the $ENV{'SHELL'} override. * bootstrap: Use $DJDIR for setting BOOTSTRAP_SHELL, to fix bootstrapping under MinGW when $DJGPP has been set. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2bee52de 2009-12-05 14:13:43 Do not rely on Perl symlink status, for MSYS perl. * automake.in (require_file_internal): Ensure presence of symlink target file; MSYS perl symlink doesn't return an error status when the file could not be created (copied, on this system). Fixes symlink.test failure. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
cce60a54 2009-12-04 15:47:23 Avoid Solaris sh `set -e' bug in vala4.test. * tests/vala4.test: New variable $cwd, holding the full path of the current directory. Use it instead of `pwd` command substitution, to avoid Heirloom/Solaris Sh bug with `set -e'. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
efb68994 2009-11-28 21:05:33 do not put world-writable directories in distribution tarballs * lib/am/distdir.am (distdir): Do not make all directories group- or world-writable. Instead, use 755. * tests/subpkg4.test (test-distdir-is-readable): Check for new, more restricted permissions.
f26e642b 2009-11-29 21:48:13 Rewrite `gnupload --help' examples. * lib/gnupload: Use GNU style version numbers, a generic package name, and more useful examples. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
375912c4 2009-11-29 20:35:03 avoid a warning from perl-5.11 * lib/Automake/Wrap.pm (_tab_length): Remove useless use of tr's "/d" modifier. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
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>