12009-12-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2 3 Fix and complete copyright notices in Makefile.am files. 4 * Makefile.am: Use single-`#' comment for copyright notice, so 5 that it also appears in the generated Makefile.in file. 6 * doc/Makefile.am: Likewise. 7 * doc/amhello/Makefile.am: Likewise. 8 * doc/amhello/src/Makefile.am: Likewise. 9 * lib/Automake/Makefile.am: Likewise. 10 * lib/Automake/tests/Makefile.am: Likewise. 11 * lib/Makefile.am: Likewise. 12 * lib/am/Makefile.am: Likewise. 13 * m4/Makefile.am: Likewise. 14 * tests/Makefile.am: Add copyright notice. 15 Report of missing copyright notice by Stefano Lattarini. 16 172009-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> 18 19 Fixed typo in Makefile.am (extra semicolon removed) 20 * Makefile.am (sc_diff_automake_in_automake): Removed an extra 21 semicolon in target's rules, which prevented a stdout redirection 22 from working. 23 242009-12-21 Julien Danjou <julien@danjou.info> (tiny change) 25 26 Add support for newer python version 27 * m4/python.m4 (AM_PATH_PYTHON): Add python3.1 to 28 _AM_PYTHON_INTERPRETER_LIST. 29 302009-12-21 Karl Berry <karl@freefriends.org> 31 32 mention ncftpput in gnupload --help 33 * lib/gnupload: Mention ncftpput in `--help' output. 34 Report by Bruce Korb. 35 362009-12-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 37 38 * NEWS: Update. 39 402009-12-05 Antonio Diaz Diaz <ant_diaz@teleline.es> 41 42 Replace unlzma, gunzip, bunzip2 with pack tool -d invocation. 43 * lib/am/distdir.am (distcheck): Use lzma -d, gzip -d, bzip2 -d, 44 instead of the respective un$tool invocation, to avoid depending 45 on another tool. 46 * THANKS: Update. 47 482009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 49 50 Use $DJDIR rather than $DJGPP to detect running on DJGPP. 51 * automake.in (Language): Use $ENV{'DJDIR'} for the 52 $ENV{'SHELL'} override. 53 * bootstrap: Use $DJDIR for setting BOOTSTRAP_SHELL, to fix 54 bootstrapping under MinGW when $DJGPP has been set. 55 56 Do not rely on Perl symlink status, for MSYS perl. 57 * automake.in (require_file_internal): Ensure presence of 58 symlink target file; MSYS perl symlink doesn't return an error 59 status when the file could not be created (copied, on this 60 system). Fixes symlink.test failure. 61 622009-12-04 Stefano Lattarini <stefano.lattarini@gmail.com> 63 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 64 65 Avoid Solaris sh `set -e' bug in vala4.test. 66 * tests/vala4.test: New variable $cwd, holding the full path of the 67 current directory. Use it instead of `pwd` command substitution, 68 to avoid Heirloom/Solaris Sh bug with `set -e'. 69 702009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 71 72 Fix requirements of silent8.test. 73 * tests/silent8.test: Require makeinfo --html, tex, texi2dvi -o, 74 dvips. 75 762009-12-04 Stefano Lattarini <stefano.lattarini@gmail.com> 77 78 File `automake.in' is not meant to be executed (only to be 79 preprocessed into `automake'), so don't leave it executable. 80 * automake.in: Remove executable bit. 81 822009-12-04 Stefano Lattarini <stefano.lattarini@gmail.com> 83 84 Don't make the generated Automake's Config.pm executable. 85 * lib/Automake/Makefile.am (Config.pm): Don't make the generated 86 `Config.pm' file executable. 87 882009-11-28 Jim Meyering <meyering@redhat.com> 89 90 do not put world-writable directories in distribution tarballs 91 * lib/am/distdir.am (distdir): Do not make all directories 92 group- or world-writable. Instead, use 755. 93 * tests/subpkg4.test (test-distdir-is-readable): Check for new, 94 more restricted permissions. 95 962009-11-29 Karl Berry <karl@freefriends.org> 97 98 Rewrite `gnupload --help' examples. 99 * lib/gnupload: Use GNU style version numbers, a generic package 100 name, and more useful examples. 101 1022009-11-28 Jim Meyering <meyering@redhat.com> 103 104 avoid a warning from perl-5.11 105 * lib/Automake/Wrap.pm (_tab_length): Remove useless use of tr's 106 "/d" modifier. 107 1082009-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 109 110 Distribute the Automake bootstrap script. 111 * Makefile.am (EXTRA_DIST): Add bootstrap. 112 Report by Jan Engelhardt. 113 1142009-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 115 116 Coverage for corner cases in derive_suffix. 117 Ensure unrelatex SUFFIXES entries and unrelated inference rules 118 are ignored silently. 119 * tests/ext3.test: New test. 120 * tests/Makefile.am: Update. 121 122 Coverage for user-provided _LINK variables. 123 * tests/link_override.test: New test. 124 * tests/Makefile.am: Adjust. 125 126 Coverage: warn about substitutions that need EXTRA_PRIMARY. 127 * tests/extra9.test: New test. 128 * tests/Makefile.am: Adjust. 129 130 Coverage: warn about configure substitution in EXTRA_PRIMARY. 131 * tests/subst5.test: New test. 132 * tests/Makefile.am: Update. 133 134 Coverage for syntax errors with conditionals in included fragments. 135 * tests/condinc2.test: Amend test. 136 137 Coverage: diagnose variables with forbidden dist_ prefix. 138 * tests/candist.test: New test. 139 * tests/Makefile.am: Update. 140 141 Coverage for conditional `else' and `endif' arguments. 142 * tests/cond46.test: New test. 143 * tests/Makefile.am: Update. 144 1452009-10-31 Jim Meyering <meyering@redhat.com> 146 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 147 148 Don't let an envvar setting of "$fail" cause build failure. 149 Without this change, in a project using an automake-generated 150 Makefile, "make fail=anything" would fail inappropriately, 151 due to the `test -z "$$fail"' at the end of this emitted rule: 152 * lib/am/subdirs.am ($(RECURSIVE_TARGETS)): Initialize "fail=" to keep 153 an envvar setting of that variable from causing unwarranted failure. 154 ($(RECURSIVE_CLEAN_TARGETS)): Likewise. 155 * tests/subdir10.test: New test. 156 * tests/Makefile.am: Update. 157 1582009-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 159 160 Simplify Variable::_check_ambiguous_condition. 161 * lib/Automake/Variable.pm (_check_ambiguous_condition): No need 162 to check for $def since ambiguous_p returns an empty $message if 163 there is no other condition which is ambiguous to $cond. 164 165 Coverage for DisjConditions.pm. 166 * lib/Automake/tests/DisjConditions.pl (test_basics): Increase 167 test coverage: test ->human, ->merge, ->simplify, ->multiply. 168 * lib/Automake/tests/DisjConditions-t.pl (test_basics): Likewise 169 changes, but including state copies across thread creation. 170 * lib/Automake/tests/DisjCon2.pl: New test. 171 * lib/Automake/tests/DisjCon3.pl: Likewise. 172 * lib/Automake/tests/Makefile.am (TESTS, XFAIL_TESTS): Adjust. 173 174 Coverage and fixes for Condition.pm. 175 * lib/Automake/Condition.pm (new): Catch common programming 176 errors better by checking type of passed argument before 177 munging them to all be strings through split. 178 * lib/Automake/tests/Condition.pl (test_basics): Also test 179 ->human. 180 (test_merge): New function, test ->merge, ->merge_conds, 181 ->strip. 182 * lib/Automake/tests/Condition-t.pl (test_basics, test_merge): 183 Likewise changes, but including state copies across thread 184 creation. 185 * lib/Automake/tests/Cond2.pl: New test for programming error. 186 * lib/Automake/tests/Cond3.pl: Likewise. 187 * lib/Automake/tests/Makefile.am (TESTS, XFAIL_TESTS): Update. 188 189 Coverage for Wrap.pm. 190 * lib/Automake/tests/Wrap.pl (@tests): Add test for word with 191 trailing space. 192 (test_makefile_wrap, @makefile_tests): New function, new list of 193 tests, to test makefile_wrap. 194 195 Coverage for Version.pm. 196 * lib/Automake/tests/Version.pl (test_version_compare): Also 197 try Automake::Version::check for the version pairs, taking into 198 account the special-case naming of code forks. 199 (@tests): Add more test cases. 200 (test_bad_versions, @bad_versions): New function, new test cases, 201 to ensure bad version strings are rejected. 202 * lib/Automake/tests/Version2.pl: New test. 203 * lib/Automake/tests/Version3.pl: Likewise. 204 * lib/Automake/tests/Makefile.am (TESTS): Add tests here ... 205 (XFAIL_TESTS): ... and here, new. 206 207 Pod coverage for Perl modules. 208 * lib/Automake/ChannelDefs.pm (parse_warnings): Fix 209 typo in Pod documentation. 210 * lib/Automake/Condition.pm: Add a couple of missing `=back' 211 lines. 212 (_has): Renamed from ... 213 (has): ... this, as this is an internal method. 214 (strip, false, true_when): Adjust callers. 215 * lib/Automake/Configure_ac.pm: Add Pod `Functions' section with 216 documentation for find_configure_ac and require_configure_ac. 217 * lib/Automake/Location.pm: Fix typo in Pod. Add `Methods' 218 section, document methods. 219 * lib/Automake/RuleDef.pm: New `Methods' Pod section. 220 * lib/Automake/VarDef.pm: Document `raw_value'. 221 * lib/Automake/Wrap.pm (_tab_length): Rename from ... 222 (tab_length): ... this, as this is an internal method. 223 (wrap): Adjust callers. 224 * lib/Automake/XFile.pm: Reorganize Pod a bit, add `Methods' 225 section. 226 2272009-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 228 229 Perl coverage support using Devel::Cover. 230 This introduces makefile rules to run the testsuite with Perl 231 coverage enabled. It skips tests that use perl ithreads, by 232 unsetting AUTOMAKE_JOBS and setting WANT_NO_THREADS to make the 233 threaded tests skip. 234 * Makefile.am (PERL_COVERAGE_DB, PERL_COVERAGE_FLAGS) 235 (PERL_COVER): New variables. 236 (check-coverage, recheck-coverage, clean-coverage): New phony 237 targets. 238 (check-coverage-run, recheck-coverage-run): New phony helper 239 targets. 240 (clean-local): New, depend on clean-coverage. 241 * lib/Automake/tests/Condition-t.pl: Skip if WANT_NO_THREADS is 242 set. 243 * lib/Automake/tests/DisjConditions-t.pl: Likewise. 244 * tests/defs.in: New required entry 'perl-threads'. 245 * tests/parallel-am.test: Use it to skip if WANT_NO_THREADS is 246 set. 247 * tests/parallel-am2.test: Likewise. 248 * tests/parallel-am3.test: Likewise. 249 250 Add convenience `recheck' target to our toplevel Makefile.am. 251 * Makefile.am (recheck): New convenience target. 252 * tests/README: Give examples for running only failed or 253 outdated or otherwise selected tests. 254 255 dist: allow running several compressors in parallel. 256 * lib/am/distdir.am (am__post_remove_distdir): New internal 257 variable. 258 (DIST_TARGETS): New variable, set to list of chosen distribution 259 formats. Order formats by expected duration, slowest first, for 260 better parallelism. 261 (dist-gzip, dist-bzip2, dist-lzma, dist-xz, dist-tarZ) 262 (dist-shar, dist-zip): Use $(am__post_remove_distdir). 263 (dist, dist-all): Do not depend on distdir. Instead of 264 replicating each compression command, use a recursive invocation 265 to allow running all $(DIST_TARGETS) in parallel. 266 * NEWS: Update. 267 Report by Peter Breitenlohner. 268 269 Fix license headers of cscope tests to be GPLv2+. 270 * tests/cscope.test: Revert to GPL version 2. 271 * tests/cscope2.test: Likewise. 272 * tests/cscope3.test: Likewise. 273 274 Sync auxiliary files from upstream. 275 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub, 276 lib/texinfo.tex: Sync from upstream. 277 278 Doc and comment typos. 279 * automake.in (handle_ltlibraries): Fix typo in comment. 280 * tests/distcom7.test: Likewise. 281 * tests/lisp5.test: Likewise. 282 * doc/automake.texi (Usage of Conditionals): Fix typo. 283 2842009-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 285 286 Fix race condition in werror2.test due to sanity sleep change. 287 * tests/werror2.test: Generate Makefile.in before configure so 288 that a Makefile.am update after configure has run is guaranteed 289 to be newer than Makefile.in. 290 * tests/subdir5.test: Document why this test does not need to be 291 fixed. 292 * tests/subdir8.test: Likewise. 293 294 Improve description of the various *LINK variables. 295 * doc/automake.texi (Program and Library Variables): _LINK also 296 receives libraries to link against. _LINK may be generated. 297 (Program Variables): Document reasons when per-target _LINK is 298 used instead of LINK. 299 (How the Linker is Chosen): Document how a per-target _LINK 300 variable and per-target link flags override linker selection. 301 * THANKS: Update. 302 Report by Dave Korn against gcc/libstdc++-v3. 303 304 Allow variable override of, rather than by, silent variables. 305 When overriding variables, check the VAR_SILENT status of the 306 old condition, not the new one: we allow non-silent overrides 307 of silent variables (these do not hit ordering bugs in the 308 automake output), but there is no use case for doing so the 309 other way round. Fixes conditional overrides of variables 310 annotated AM_SUBST_NOTMAKE in configure.ac. 311 * lib/Automake/Variable.pm (_check_ambiguous_condition): Check 312 for VAR_SILENT in $ambig_cond not $cond. 313 * tests/cond44.test, tests/cond45.test: New tests, analogous to 314 cond23.test and cond24.test. 315 * tests/Makefile.am: Update. 316 Spotted originally in binutils/bfd. 317 318 Fix `make clean check' for the Automake package. 319 * lib/Automake/Makefile.am (SUBDIRS): Add `.' before `tests', 320 so that Config.pm is built first. 321 322 Fix in-tree `recheck' after failed test that runs `check'. 323 If a test like pr401b-p.test fails for some reason, a `make 324 recheck' would cause another reason for failure because it sets 325 AM_MAKEFLAGS which gets propagated into the test and causes its 326 `make check' to fail. 327 * tests/defs.in: Also unset AM_MAKEFLAGS. 328 3292009-10-11 Stefano Lattarini <stefano.lattarini@gmail.com> 330 331 Updated code enabling Bourne-compatibility in test scripts. 332 * tests/defs.in: updated the code enabling Bourne-compatibility 333 mode in the shell (now it's copied from autoconf 2.64). 334 335 Avoid leaking TEST_LOG_COMPILER in environment of test scripts. 336 * tests/defs.in: Unset variable `TEST_LOG_COMPILER'. 337 3382009-10-07 Stefano Lattarini <stefano.lattarini@gmail.com> 339 340 Testsuite: do not use `chmod -R' when cleaning up. 341 * tests/Makefile.am (clean-local-check): Do not use `chmod -R' on 342 the test directories, as that may change or try to change the mode 343 of installed files: the test directory may contain symlinks to 344 ltmain.sh files from a Libtool installation, and Solaris `chmod -R' 345 touches symlink targets. Instead, use the cleanup strategy used 346 in distdir.am (which is also employed in tests/defs.in). 347 3482009-10-06 Bruno Haible <bruno@clisp.org> 349 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 350 351 Fix 'compile' script to not call mv when target equals source. 352 * lib/compile: Don't attempt to move the generated file to its 353 target destination when it is already at the target destination. 354 Avoids an mv failure with subdir-objects. 355 * tests/ccnoco3.test: New test. 356 * tests/Makefile.am: Adjust. 357 3582009-10-01 Stefano Lattarini <stefano.lattarini@gmail.com> (tiny change) 359 360 Fix recommended way to run automake's test scripts with Zsh. 361 * tests/README (Supported shells): Changed the recommended way 362 to run automake's test scripts with Zsh. Now we tell to use 363 the Zsh's command line option `-o no_function_argzero', not 364 `--no-function-argzero', since the latter does not work with 365 versions 3.x of Zsh. 366 3672009-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 368 369 Fixups and tests for cscope functionality. 370 It seems cscope is not able to take into account relative 371 file names of included cscope.files files, but it is able to 372 canonicalize file names containing '../' sequences. 373 This patch makes the cscope references relative again, and 374 fixes some corner cases. 375 * NEWS: Reword a bit. 376 * THANKS: Update. 377 * automake.in (handle_tags): Use $(am__cd). Provide default 378 empty rule for the `cscope' target, for empty sources. 379 * lib/am/tags.am (cscopelist): Construct relative path to files 380 in $(srcdir) if $(srcdir) is relative. 381 [TOPDIR_P] (cscope): Do not depend on cscope-clean. Only invoke 382 $(CSCOPE) if cscope.files is nonemtpy. 383 (clean-cscope): Rename from ... 384 (cscopeclean): ... this. 385 (cscope.files): Depend on clean-cscope. 386 (distclean-tags) [!TOPDIR_P]: No need to remove cscope files 387 here. 388 * tests/cscope.test, tests/cscope2.test, tests/cscope3.test: New 389 tests. 390 * tests/Makefile.am: Adjust. 391 3922009-09-25 Debarshi Ray <rishi@gnu.org> 393 394 New target to generate cscope database. 395 * automake.in (handle_tags): Handle cscope. 396 * doc/automake.texi (Tags): Document cscope. 397 * lib/am/tags.am (CSCOPE): New macro. 398 [TOPDIR_P] (AM_RECURSIVE_TARGETS): Add cscope. 399 (cscope): New target. 400 (cscopeclean): Likewise. 401 (cscope.files): Likewise. 402 (cscopelist): Likewise. 403 (distclean-tags): Remove `cscope.out', `cscope.in.out', 404 `cscope.po.out' and `cscope.files'. 405 * NEWS: Update. 406 Based upon earlier patch from Jesse Barnes. 407 4082009-09-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 409 410 Use silent-rules for building the Automake package. 411 * configure.ac (AM_INIT_AUTOMAKE): Add silent-rules option. 412 * Makefile.am (automake, aclocal, INSTALL): Add silencing 413 variables to recipe. 414 * doc/Makefile.am (update_mans, $(srcdir)/aclocal.1) 415 ($(srcdir)/automake.1, $(srcdir)/amhello-1.0.tar.gz): Likewise. 416 * lib/Automake/Makefile.am (Config.pm): Likewise. 417 * tests/Makefile.am ($(srcdir)/parallel-tests.am) 418 ($(parallel_tests), defs-p): Likewise. 419 4202009-09-25 Jack Kelly <endgame.dos@gmail.com> 421 422 Add silent rules support for texinfo outputs. 423 * automake.in (define_verbose_texinfo): Define several new verbose 424 tagvars and verbose vars. 425 (define_verbose_tagvar): Increase spacing to 8 to accommodate 426 MAKEINFO, TEXI2DVI, TEXI2PDF. 427 (handle_texinfo): Additional substitution for silencing dvips. 428 (output_texinfo_build_rules): Additional substitutions for 429 silencing texi2dvi and texi2pdf. 430 * lib/am/texibuild.am: Add silencing to makeinfo, makeinfo --html, 431 texi2dvi and texi2pdf rules. 432 * lib/am/texinfos.am: Add silencing to .dvi.ps rule. 433 * tests/Makefile.am: Add silent8.test. 434 * tests/silent8.test: New test: tests that silent texinfo rules 435 produce quiet messages. 436 * NEWS: Update. 437 4382009-09-18 Peter Johansson <trojkan@gmail.com> (tiny change) 439 440 Fix link to "Recursive Make Considered Harmful" paper. 441 * doc/automake.texi (Alternative): Fix broken URL. 442 4432009-09-11 Reuben Thomas <rrt@sc3d.org> (tiny patch) 444 445 Fix outdated reference to sh-utils in the manual. 446 * doc/automake.texi (Options): The reference to `sh-utils' 447 should be to `coreutils'. 448 4492009-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 450 451 Avoid sleeping for one second most of the time in sanity check. 452 * m4/sanity.m4 (AM_SANITY_CHECK): Try sanity check first without 453 sleeping for a second, and only if that failed, sleep and try 454 again, to avoid the delay in the common case of a configure 455 script that is older than a second, or a system with sub-second 456 time stamp granularity. 457 Report and different patch by Jim Meyering. 458 4592009-09-06 Stefano Lattarini <stefano.lattarini@gmail.com> (tiny change) 460 461 tests/README: warn about zsh incompatibilities. 462 * tests/README (User interface, Getting details from failures): 463 Explicitly state that every test is a "shell script", not just 464 a "script", and that it's run by `/bin/sh' by default. 465 * tests/README (User interface, Supported shells): New subsection, 466 telling about expected portability of the automake test scripts, 467 describing a zsh incompatibility (w.r.t. $0), and a workaround to 468 it (with the `--no-function-argzero' option). 469 470 testsuite: fix a minor glitch. 471 * tests/defs.in (exit trap): Use `$me', not `$as_me', as the 472 name of the current test (used in error messages). 473 * THANKS: Update. 474 4752009-07-08 Jim Meyering <meyering@redhat.com> 476 477 manual: fix a trivial grammar error. 478 * doc/automake.texi (Invoking aclocal): Fix grammar. 479 4802009-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 481 482 AM_PROG_GCJ: use AC_CHECK_TOOLS for gcj, for cross compilation. 483 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_TOOLS, rather than 484 AC_CHECK_PROGS, when searching for `gcj'. 485 * NEWS: Update. 486 Report by Jack Kelly. 487 4882009-05-24 Jack Kelly <endgame.dos@gmail.com> (tiny change) 489 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 490 491 AM_PROG_GCJ currently fails to define OBJEXT and EXEEXT. 492 * tests/gcj6.test: New test. 493 * tests/Makefile.am: Update; mark gcj6.test as XFAIL. 494 * THANKS: Update. 495 4962009-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 497 498 parallel-tests: avoid GNU make 3.80 substitution bug. 499 * lib/am/check.am [PARALLEL_TESTS] (check-TESTS): Remove any 500 `.log' entries from `$(TEST_LOGS)' even if the list is nonempty, 501 to work around GNU make 3.80 substitution reference issue with 502 trailing white space in the variable. 503 * tests/parallel-tests10.test: New test. 504 * tests/parallel-tests6.test: Update comment. 505 * tests/Makefile.am: Update. 506 * NEWS: Update. 507 Report by Bob Friesenhahn. 508 5092009-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 510 511 testsuite: unset installation directory variables. 512 * tests/defs.in: Before test execution, be sure to unset all 513 installation directory variables, so they cannot have an effect 514 on a `make -e install' command within a test. 515 Report by Dagobert Michelsen. 516 517 testsuite: do not change the mode of installed Libtool files. 518 * tests/defs.in: Do not use `chmod -R' on the test directory, as 519 that may change or try to change the mode of installed files: 520 the test directory may contain symlinks to ltmain.sh files from 521 a Libtool installation, and Solaris `chmod -R' touches symlink 522 targets. Instead, use the cleanup strategy used in distdir.am. 523 * NEWS: Update. 524 Report by Dagobert Michelsen. 525 526 testsuite: do not fail in cleanup code. 527 * tests/defs.in: Turn off errexit in the cleanup trap, to avoid 528 a test failure due to a nonzero command. 529 * THANKS: Update. 530 Report by Dagobert Michelsen. 531 5322009-05-23 Peter O'Gorman <peter@pogma.com> 533 534 python: do not install in system directories on Darwin 9. 535 On Darwin 9, get_python_lib returns a path below `/Library/Python' 536 regardless of the `prefix' argument it was passed, causing `make 537 install' to target the system directories regardless of `--prefix' 538 argument used. Work around this Darwin bug by ignoring the result 539 of get_python_lib if it points outside of the passed prefix, and 540 the prefix was not a system directory. 541 * m4/python.m4 (AM_PATH_PYTHON): If the prefix does not match the 542 initial portion of the pythondir returned by get_python_lib, then 543 ignore it unless the configured prefix is `/usr' or starts with 544 `/System'. Fixes instmany-python.test failure on Mac OS X 10.5.7. 545 * NEWS: Update. 546 5472009-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 548 549 Clarify how to enable `silent-rules' and other global options. 550 * doc/automake.texi (Options): When introducing options, be more 551 careful to note that not all of them can be specified in 552 AUTOMAKE_OPTIONS statements, and that some do not make sense in 553 subdirectories. Note more prominently that `silent-rules' can 554 only be specified in configure.ac. 555 * lib/Automake/Options.pm (_process_option_list): Improve error 556 message for `silent-rules', `tar-v7', `tar-ustar', `tar-pax' 557 options specified in Makefile.am files. 558 Report by Bruno Haible. 559 5602009-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 561 562 Skip specflg10.test without a C++ compiler. 563 * tests/specflg10.test: Require g++. 564 Report by Thien-Thi Nguyen. 565 5662009-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 567 568 Revert last patch, IRIX has an editor named `jot'. 569 * tests/instmany-mans.test: Do not try `jot'. 570 * tests/instmany-python.test: Likewise. 571 * tests/instmany.test: Likewise. 572 Report by Peter O'Gorman. 573 5742009-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 575 576 testsuite: also try `jot' as `seq' replacement. 577 * tests/instmany-mans.test: Try BSD `jot' before resorting to a 578 slow but portable shell loop. 579 * tests/instmany-python.test: Likewise. 580 * tests/instmany.test: Likewise. 581 Suggestion by Peter O'Gorman. 582 583 Fix test failure when pkg.m4 is not found, only pkg-config. 584 * tests/vala5.test: Update comment, this test is not expected to 585 fail any more. Require valac version 0.7.0. Skip if configure 586 fails, could be due to unexpanded PKG_CHECK_MODULES or too old 587 valac. 588 Report by Simon Josefsson. 589 5902009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 591 592 Post-release version bump. 593 * configure.ac, NEWS: Bump version to 1.11a. 594 5952009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 596 597 Automake 1.11. 598 * configure.ac: Bump version to 1.11. 599 * doc/automake.texi (Releases): Add line for 1.11. Remove line 600 for 1.10b. 601 602 Fix maintainer-check failures. 603 * automake.in (lang_vala_finish_target): Use `$(am__cd)' instead 604 of plain `cd'. 605 * tests/vala2.test: Use `rm -f' instead of `rm'. 606 607 Revert Automake license to GPLv2+. 608 Automake will move to GPLv3+ once the Exception statement has 609 been rewritten to use the new GPLv3 exception language. This 610 change does not impact the COPYING file that may be installed 611 by `automake --add-missing'. 612 * COPYING: Revert to GPLv2. All uses changed. 613 * NEWS: Update. 614 615 Rewrite NEWS for 1.11. 616 * NEWS: Rewrite, merging 1.10b and 1.10c entries. 617 618 Sync auxiliary files from upstream. 619 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from 620 upstream. 621 622 Update release statistics, improve release-stats rule. 623 * Makefile.am (release-stats): Output stderr of pstops in 624 addition to catching it, for better debugging. 625 * doc/automake.texi (Releases): Add line for 1.10.2. 626 627 Cope with parallel BSD make -jN semantics. 628 When BSD `make -jN' is used without `-B' which enables backwards 629 compatible semantics, it may reuse the same shell for several 630 commands within a rule; so ensure we do not leave it in a 631 different directory, nor `exit 0' early in a multi-command rule. 632 * lib/am/distdir.am (distcheck): After running `distcleancheck', 633 change back to original working directory. 634 * lib/am/remake-hdr.am (%CONFIG_HIN%): Run autoheader in a 635 subshell. 636 * lib/am/mans.am (uninstall-man%SECTION%): Do not `exit 0' early 637 in a rule that consists of several shell invocations. Parallel 638 NetBSD `make -jN' without `-B' will use only one shell for all 639 commands, but won't respawn one after `exit 0'. Fixes 640 notrans.test failure. 641 * tests/makej2.test: New test. 642 * tests/Makefile.am: Update. 643 644 Fix typo in comment. 645 * lib/am/install.am: Fix typo. 646 6472009-05-17 Matthias Klose <doko@ubuntu.com> (tiny change) 648 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 649 650 Let AM_PATH_PYTHON honor python's idea about the site directory. 651 * m4/python.m4 (AM_PATH_PYTHON): When computing pythondir and 652 pyexecdir, pass the expanded prefix resp. exec_prefix as `prefix' 653 to get_python_lib, so python can determine the name of the site 654 directory depending on the install location. Afterwards, replace 655 the directory names with the unexpanded values of $PYTHON_PREFIX 656 resp. $PYTHON_EXEC_PREFIX again, to allow override according to 657 the documentation. Fixes site directory computation for Debian 658 and Ubuntu (`dist-packages' for a prefix of `/usr' or `/usr/local', 659 `site-packages' elsewhere). 660 * NEWS, THANKS: Update. 661 6622009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 663 664 Vala: for now, require GNU make. 665 * doc/automake.texi (Vala Support): GNU make is currently 666 required for Vala sources. 667 * tests/vala2.test, tests/vala3.test, tests/vala5.test: Require 668 GNU make. 669 6702009-05-17 Jürg Billeter <j@bitron.ch> 671 672 Vala: Use $(srcdir) in rebuild rules. 673 valac is always run in srcdir as the generated files are distributed. 674 So srcdir needs to be taken into account in the rebuild rules to not 675 wrongly trigger a rebuild in the wrong directory. 676 * automake.in (lang_vala_finish_target): Rebuild files in 677 $(srcdir). 678 * tests/vala2.test: Test rebuild rules from VPATH build. 679 680 Vala: Add and test rebuild rules for generated header and vapi files. 681 valac will generate additional files when using, for example, -H in 682 VALAFLAGS. We need to recognize these options and add appropriate 683 rebuild rules to fix parallel build. 684 * automake.in (lang_vala_finish_target): Recognize -H, -h, 685 --header, --internal-header, --vapi, --internal-api, --gir flags 686 to valac and rebuild rules for generated headers; distribute 687 and maintainer-clean them. 688 * tests/vala2.test: Test rebuild rules. 689 6902009-05-17 Jürg Billeter <j@bitron.ch> 691 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 692 693 Vala: Fix build when using per-target VALAFLAGS. 694 This does not yet implement full per-target support for VALAFLAGS, 695 however, this change at least fixes building when there is only one 696 target per source file, which is the most common situation. 697 * automake.in: Remove `VALAFLAGS' from `flags' in language struct. 698 (lang_vala_finish_target): Handle `*_VALAFLAGS rewriting' manually 699 here; check `VALAFLAGS' user variables. 700 * tests/Makefile.am (XFAIL_TESTS): Remove vala5.test. 701 * doc/automake.texi (Vala Support): Document per-target flag 702 limitations. 703 7042009-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 705 706 For PR automake/540: 707 Document some formatting restrictions for Makefile.am files. 708 * doc/automake.texi (General Operation, Usage of Conditionals): 709 Variable assignments should not be indented by TABs, rule commands 710 should. Conditional keyword statements should not be indented. 711 * THANKS: Update. 712 Report by Luo Yi. 713 7142009-05-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 715 716 Fix copyright years in *.am files. 717 * lib/am/check.am, lib/am/check2.am, lib/am/distdir.am, 718 lib/am/program.am, lib/am/tags.am: Fix copyright years. 719 720 distdir: avoid duplicate `find' traversal with subpackages. 721 * lib/am/distdir.am (distdir) [%?SUBDIRS%]: When recursing, set 722 `am__skip_mode_fix'. 723 [%?TOPDIR_P%]: When `$(am__skip_mode_fix)' is set, avoid tree 724 walk. 725 * tests/subpkg4.test: New test, to ensure that we still walk the 726 whole tree while fixing permissions. We don't ensure it is 727 walked once only. 728 * tests/Makefile.am: Update. 729 730 Disable test cleanup trap with OSF1/Tru64 sh. 731 * configure.ac: Test whether /bin/sh has working 'set -e' 732 in conjunction with an exit trap. Set $am_cv_sh_errexit_works 733 accordingly, substitute sh_errexit_works, and warn about 734 leftover test directories with broken shells like Tru64 /bin/sh. 735 * tests/defs.in: Do not install any traps with broken shells. 736 7372009-05-02 Bruno Haible <bruno@clisp.org> 738 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 739 740 Recommend *-local hooks without commands, for extensibility. 741 * doc/automake.texi (Clean): Show how to write the clean-local 742 extension with separate phony target. 743 * tests/Makefile.am (clean-local-check): Practice what we preach 744 by marking this phony. For consistency, rename from ... 745 (check-clean-local): ... this. 746 7472009-04-28 Eric Blake <ebb9@byu.net> 748 749 scripts: normalize all timestamps to UTC 750 * lib/compile (scriptversion): Update emacs hook. 751 * lib/depcomp (scriptversion): Likewise. 752 * lib/elisp-comp (scriptversion): Likewise. 753 * lib/gnupload (scriptversion): Likewise. 754 * lib/install-sh (scriptversion): Likewise. 755 * lib/mdate-sh (scriptversion): Likewise. 756 * lib/missing (scriptversion): Likewise. 757 * lib/mkinstalldirs (scriptversion): Likewise. 758 * lib/py-compile (scriptversion): Likewise. 759 * lib/ylwrap (scriptversion): Likewise. 760 7612009-04-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 762 763 silent-rules: fix alignment of less verbose output. 764 * automake.in (define_verbose_var): Define `$silent_var' as 765 VAR_ASIS, not VAR_PRETTY, to avoid squashing of multiple 766 adjacent spaces. 767 * tests/silent.test: Amend test. 768 Report by Jan Engelhardt. 769 7702009-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 771 772 manual: fix trivial grammar errors. 773 * doc/automake.texi (Subpackages, Vala Support, Java) 774 (Checking the Distribution, Timeline): Fix `a' vs. `an' errors 775 and duplicate `the'. 776 Report by Eric Blake. 777 778 Indent rule commands consistently with a TAB. 779 * lib/am/check.am ($(TEST_SUITE_LOG)): Consistently use TAB, not 780 spaces, for indentation of commands, even if indentation may not 781 be needed at all. 782 * lib/am/texinfos.am (install-info-am): Likewise. 783 * THANKS: Update. 784 Prompted by report from John Calcote. 785 786 parallel-tests: fix recheck* targets for non-GNU make. 787 * lib/am/check.am (recheck recheck-html): Override AM_MAKEFLAGS 788 to portably transport the TEST_LOGS settings through the 789 recursive `make' invocations. Fixes parallel-tests9.test 790 failure with Solaris make. 791 * tests/parallel-tests9.test: Also ensure that the test 792 summary is correct for `recheck'. 793 Suggestion by Akim Demaille. 794 7952009-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 796 797 Avoid racy depmodes with universal builds. 798 * m4/depend.m4 (_AM_DEPENDENCIES): If universal builds are used, 799 avoid racy depmodes. 800 * lib/depcomp: Ignore `-arch' argument for makedepend depmode. 801 Report by Bruno Haible, analysis by Bruno Haible, Peter O'Gorman, 802 and Eric Blake. 803 8042009-04-21 Fabian Alenius <fabian.alenius@gmail.com> (tiny change) 805 806 Fix link to autotools tutorial. 807 * doc/automake.texi (Autotools Introduction): Fix broken link. 808 * THANKS: Update. 809 8102009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 811 812 testsuite: minor w32 fixes. 813 * tests/depend5.test: Don't fail if the system or file system 814 cannot handle weird characters, instead just try a few. 815 * tests/parallel-tests3.test: Really wait until the serial test 816 has finished, before letting the cleanup trap do its work. 817 Report by Bruno Haible. 818 819 Avoid nonportable `./FILE' instead of `FILE' in test. 820 * tests/libtool3.test: Do not use `$(top_builddir)/sub/libname.la' 821 in *_LDADD entry if `$(top_builddir)' is `.'. Fixes test failure 822 with parallel NetBSD make. 823 824 Detect make `include' style also with parallel non-GNU make. 825 Parallel NetBSD make outputs `--- $target ---' messages, 826 parallel HP-UX make outputs `Making target"$target"'. Just 827 ignore all additional output for the include test. 828 * m4/make.m4 (AM_MAKE_INCLUDE): Ignore additional output 829 produced by `make' to relax `include' style detection. 830 831 manual: add FAQ `Debugging Make Rules'. 832 * doc/automake.texi (Debugging Make Rules): New FAQ section. 833 (Top, FAQ): Adjust menus, and capitalization of the description 834 of the `Hard-Coded Install Paths' node. 835 (Multiple Outputs): Add comment to restore font-lock for vim. 836 Suggestion by Karl Berry. 837 838 Let XFile::lock warn and fail with parallel non-GNU make, too. 839 * lib/Automake/XFile.pm (lock): Also match `-j' for parallel BSD 840 make, and `-P' for parallel HP-UX make. 841 842 Fix AM_PROG_VALAC version requirement detection. 843 * m4/vala.m4 (AM_PROG_VALAC): Remove `Vala ' from valac 844 --version string before comparing versions. 845 * tests/vala2.test: Require version 0.7.0 for the test. 846 Fixes failures of vala2.test and vala3.test with older valac. 847 848 Correctly treat all assignments with bogus trailing comments. 849 Before this patch, automake would silently fail to diagnose and 850 to copy into the output those variable assignments which are 851 preceded by a comment, and end in backslash newline comment. 852 * automake.in (read_am_file): When determining whether an 853 escaped newline followed by a comment is an error, correctly use 854 the parser state, not the contents of a saved comment, which 855 could still be carried over from a comment before an assignment. 856 * NEWS: Update. 857 * tests/commen11.test: New test. 858 * tests/Makefile.am: Update. 859 Report by Karl Berry. 860 8612009-04-14 Karl Berry <karl@freefriends.org> 862 863 manual: improve markup: itemize list in `Extending'. 864 * doc/automake.texi (Extending): Use `@item's for user override 865 semantics. 866 8672009-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 868 869 bin_PROGRAMS = $(EXTRA_PROGRAMS) should work. 870 * automake.in (am_install_var): For `PROGRAMS' primary, strip 871 `$(EXEEXT)' here already, so the name uniquifying works even 872 when we look at names repeatedly, with inconsistent executable 873 extension; through variable references, we might have added 874 the extension ourselves earlier. 875 (handle_programs): No need to strip `$(EXEEXT)' here any more. 876 * tests/extra8.test: New test. 877 * tests/Makefile.am: Update. 878 * THANKS: Update. 879 Report by Daniel Richard G. 880 8812009-04-10 Jim Meyering <meyering@redhat.com> 882 883 Fix grammar in comments and documentation. 884 * doc/automake.texi (API versioning): Fix grammar. 885 * automake.in: Fix grammar in comment. 886 * lib/Automake/ChannelDefs.pm: Likewise. 887 * tests/ext2.test: Likewise. 888 8892009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 890 891 More minor fixups to vala support. 892 * automake.in (lang_vala_finish_target): Fix typo in comment. 893 * doc/automake.texi (Vala Support): Fix typo. Declare vala 894 support as "initial". 895 * NEWS: Likewise, declare vala support as "initial". 896 8972009-04-05 Jürg Billeter <j@bitron.ch> 898 899 Improve Vala support. 900 * automake.in: Update to Vala 0.7.0 semantics, recover from removal 901 of built sources, support silent-rules, drop _PKGNAME variables 902 * doc/automake.texi, NEWS: Update. 903 * lib/am/vala.am: Bump copyright years. 904 * m4/vala.m4: Likewise. 905 * tests/vala.test: Remove obsolete grep tests. 906 * tests/vala1.test: Likewise. 907 * tests/vala2.test: Test full build, distcheck, and distclean. 908 * tests/vala3.test: Likewise, also test with subdir-objects. 909 * tests/vala4.test: Bump copyright years. 910 * tests/vala5.test: New test for per-target flags, expected to fail. 911 * tests/Makefile.am: Update. 912 * THANKS: Update. 913 9142008-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 915 916 Minor fixups for Vala support. 917 * automake.in: $(VALAFLAGS) comes after $(AM_VALAFLAGS). 918 * doc/automake.texi (Vala Support): Add some references, 919 document AM_VALAFLAGS, streamline a bit. 920 * lib/am/vala.am: Copyright blurb. 921 * m4/vala.m4 (AM_PROG_VALAC): Rewrite using AS_VERSION_COMPARE. 922 * tests/vala.test: Fix minor nits. 923 * tests/vala1.test: Likewise. 924 * tests/vala2.test: Likewise. 925 * tests/vala3.test: Likewise. 926 * tests/vala4.test: New test, for version argument of 927 AM_PROG_VALAC. 928 * tests/Makefile.am: Update. 929 9302008-10-09 Mathias Hasselmann <mathias.hasselmann@gmx.de> 931 932 * automake.in: Support Vala in non-recursive builds. Make sure 933 foo_VALAFLAGS really use used. Inject --library switch when building 934 Vala libraries. 935 * doc/automake.texi, NEWS: Document Vala support. 936 * m4/vala.m4: Rename AC_PROG_VALAC to AM_PROG_VALAC. 937 * tests/Makefile.am: Additional Vala tests. 938 * tests/vala.test: Also test VALAFLAGS support. 939 * tests/vala1.test: Test non-recursive Vala support. 940 * tests/vala2.test: Test _PKGNAME variables. 941 * tests/vala3.test: Test compiling of C code generated by Vala. 942 9432008-10-09 Mathias Hasselmann <mathias.hasselmann@gmx.de> 944 945 Initial support for the vala programming language. 946 * automake.in: Add %known_libraries, lang_vala_rewrite, 947 lang_vala_finish and lang_vala_target_hook to support the Vala 948 programming language. Register Vala language hooks. 949 * lib/am/vala.am: Empty rules file to prevent creation of depend2 950 based rules for Vala code. 951 * lib/am/Makefile.am (dist_am_DATA): Add vala.am. 952 * m4/vala.m4: Provide AC_PROG_VALAC for detecting the Vala compiler. 953 * m4/Makefile.am (dist_m4data_DATA): Add vala.m4. 954 * tests/vala.test: Test Vala support. 955 * tests/Makefile.am: Update. 956 9572009-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 958 959 testsuite: do not fail on systems without read permissions. 960 * tests/instfail-info.test: Do not use the `non-root' 961 requirement for testing whether files may be made unreadable; 962 instead use `test -r' and skip the test if that still works. 963 * tests/instfail-java.test: Likewise. 964 * tests/instfail-libtool.test: Likewise. 965 * tests/instfail.test: Likewise. 966 * tests/instmany-mans.test: Likewise. 967 * tests/instmany-python.test: Likewise. 968 * tests/instmany.test: Likewise. 969 * tests/parallel-tests9.test: Likewise. 970 971 testsuite: parallel make fixes. 972 This patch fixes a couple of testsuite bugs exposed with 973 `MAKE=make\ -jN make check'. 974 * tests/libtoo10.test: Do not run `clean' in same $MAKE 975 invocation as `all check'. Fixes test failure with parallel 976 NetBSD `make -jN'. 977 * tests/nobase.test: Be sure to create a directory before 978 creating files in it. Fixes test failure with MAKE=`make -jN' 979 for NetBSD make. This issue is hidden with parallel GNU make 980 due to its parallel breadth first update order. 981 * tests/parallel-tests3.test: Skip if $MAKE contains `-j', 982 GNU make will use the environment variable $MAKE for recursion 983 and thus run in parallel even if `$MAKE -j1' was used on the 984 command line in the test. Also, after running the test proper, 985 wait long enough so that background jobs have finished and there 986 are no open files left when the cleanup code runs. 987 9882009-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 989 990 silent-rules reorganization, --enable-silent-rules switch. 991 This patch introduces a configure-time option to set the default 992 verbosity. Since configure now needs to know whether the 993 `silent-rules' automake option was set, the latter can only be 994 set within AM_INIT_AUTOMAKE, or with a new AM_SILENT_RULES macro 995 but not any more through AUTOMAKE_OPTIONS or the automake 996 command line option `--silent-rules'. 997 * automake.in (define_verbose_var): Define the default verbose 998 variable in terms of `$(AM_DEFAULT_VERBOSITY)'. 999 (handle_configure): Do not pass `--silent-rules' to automake. 1000 (scan_autoconf_traces): Trace `AM_SILENT_RULES'. If seen, 1001 enable global `silent-rules' option. 1002 (usage): Do not document `--silent-rules'. 1003 (parse_arguments): Do not accept `--silent-rules'. 1004 * doc/automake.texi (Options): Overhaul. Document 1005 AM_SILENT_RULES, --enable-silent-rules, --disable-silent-rules, 1006 AM_DEFAULT_VERBOSITY. Show an example for user-added variables 1007 for less verbose output. 1008 (Invoking Automake): Remove documentation for `--silent-rules'. 1009 (Public Macros): Document `AM_SILENT_RULES'. 1010 * NEWS: Update. 1011 * lib/Automake/Options.pm (_process_option_list): Accept 1012 `silent-rules' only as option in configure.ac. 1013 * m4/init.m4 (AM_INIT_AUTOMAKE): If the `silent-rules' option 1014 was enabled, require `AM_SILENT_RULES'; move AM_BACKSLASH 1015 initialization to ... 1016 * m4/silent.m4 (AM_SILENT_RULES): ... this new file, new macro. 1017 Deal with `--enable-silent-rules' switch; define 1018 AM_DEFAULT_VERBOSITY. 1019 * m4/Makefile.am (dist_m4data_DATA): Add silent.m4. 1020 * tests/dollarvar.test: Remove tests for `--silent-rules', use 1021 `AM_SILENT_RULES'. 1022 * tests/flavor.test: Remove test for `--silent-rules'. 1023 * tests/silent.test: Use `AM_SILENT_RULES' instead of 1024 `AUTOMAKE_OPTIONS = silent-rules'; use `--enable-silent-rules'. 1025 * tests/silent2.test: Likewise. 1026 * tests/silent3.test: Likewise. 1027 * tests/silent4.test: Likewise. 1028 * tests/silent5.test: Likewise. 1029 * tests/silent6.test: Likewise. Test `AM_SILENT_RULES' as well 1030 as `AM_INIT_AUTOMAKE([silent-rules])' instead of 1031 `--silent-rules'. 1032 * tests/silent7.test: Use `AM_SILENT_RULES' instead of 1033 `AUTOMAKE_OPTIONS = silent-rules'; ensure the latter is rejected. 1034 Test combinations of --enable-silent-rules and 1035 --disable-silent-rules with `make V=0' and `make V=1'. 1036 Suggestion for configure-time switch by Bob Friesenhahn. 1037 1038 manual: Add note about parallelism and tests ordering. 1039 * doc/automake.texi (Simple Tests using parallel-tests): 1040 Dependencies between test logs work for tests with known 1041 extensions only. Hint that tests should be prepared to be run 1042 in parallel. 1043 1044 Fix maintainer-check failure. 1045 * tests/suffix13.test: Use Exit not exit. 1046 10472009-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1048 1049 parallel-tests: more testsuite exposure. 1050 * tests/parallel-tests.test: Also test overriding TEST_LOGS and 1051 TESTS. 1052 1053 parallel-tests: let VERBOSE=yes output appear before summary. 1054 * lib/am/check.am ($(TEST_SUITE_LOG)): In `VERBOSE=yes' mode, 1055 output contents of `$(TEST_SUITE_LOG)' before, rather than after 1056 the test suite summary. This ensures that the email address 1057 appears near the end of the output; also, the log file already 1058 starts with a result summary anyway. 1059 1060 parallel-tests: `clean recheck' should not rerun all tests. 1061 * lib/am/check.am (recheck, recheck-html): Do not rerun all 1062 tests if `$(TEST_SUITE_LOG)' does not exist. 1063 * tests/parallel-tests2.test: Adjust recheck test. 1064 * tests/parallel-tests9.test: Adjust recheck-html test. 1065 * NEWS: Update. 1066 Suggestion by Akim Demaille. 1067 10682009-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1069 Eric Blake <ebb9@byu.net> 1070 1071 parallel-tests: Fix driver for nonempty executable extension. 1072 * automake.in (handle_tests): New substitution `%am__EXEEXT%', 1073 defined as 'FALSE' for non-generic rules, or if no programs are 1074 built at all. Otherwise, define it as configure conditional. 1075 * lib/am/check2.am [%am__EXEEXT%] (%EXT%$(EXEEXT).log): New 1076 conditional generic rule. 1077 * m4/init.m4: Hook an m4_provide of `_AM_COMPILER_EXEEXT' onto 1078 Autoconf's `_AC_COMPILER_EXEEXT' macro. 1079 (AM_INIT_AUTOMAKE): If `_AM_COMPILER_EXEEXT' has been provided 1080 at `AC_CONFIG_COMMANDS_PRE' time, then introduce a conditional 1081 `am__EXEEXT', defined to true iff `$EXEEXT' is nonempty. 1082 * tests/check5.test: Only match `_EXEEXT_[1-9]' here, to avoid 1083 false positives stemming from `@am__EXEEXT_TRUE@'. 1084 * NEWS: Update. 1085 10862009-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1087 1088 Fix a couple of $(EXEEXT)-related testsuite failure. 1089 * tests/check8.test: Allow executable extensions in test suite 1090 output. 1091 * tests/check9.test: Add `$(EXEEXT)' manually to @substituted@ 1092 XFAIL_TESTS entries. 1093 1094 * NEWS: Update for last patch. 1095 10962009-04-07 Florian Briegel <briegel@zone42.de> (tiny change) 1097 Stepan Kasal <skasal@redhat.com> 1098 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1099 1100 Fix renamed objects with subdir-objects and other languages. 1101 * automake.in: Fixed bug when building with renamed objects 1102 and foreign languages. 1103 * tests/suffix13.test: New test. 1104 * tests/Makefile.am: Adjust. 1105 * THANKS: Update. 1106 Reports by Florian Briegel and Stepan Kasal. 1107 11082009-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1109 1110 Do not remove texinfo outputs upon mostlyclean. 1111 * lib/am/texinfos.am: New substitutions %MOSTLYCLEAN%, 1112 %MAINTCLEAN%. 1113 (clean-aminfo): New target, remove %TEXICLEAN% if nonemtpy, 1114 declare phony. Hook this target to ... 1115 (clean-am): ... this and ... 1116 (?CYGNUS?clean-info): ... this. 1117 (maintainer-clean-aminfo): Remove %MAINTCLEAN% if nonempty, 1118 for later. 1119 (mostlyclean-aminfo): Remove %MOSTLYCLEAN%. 1120 * automake.in (handle_texinfo_helper): Return three arrays 1121 $MOSTLYCLEAN, $TEXICLEAN, $MAINTCLEAN, instead of one array. 1122 Only put LaTeX helper files in $MOSTLYCLEAN, the rest in 1123 $TEXICLEAN for now. 1124 (handle_texinfo): Accept these, chop off extra newline, and 1125 substitute them in `texinfos.am'. 1126 * NEWS: Update. 1127 * tests/txinfo33.test: New test. 1128 * tests/Makefile.am: Update. 1129 Report by Bruno Haible. 1130 11312009-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1132 1133 testsuite: unset TESTS, TEST_LOGS, to avoid interference. 1134 * tests/defs.in: Unset TESTS, TEST_LOGS. 1135 1136 testsuite: generate $(parallel_tests) just when needed. 1137 * tests/Makefile.am (check_SCRIPTS): No need to list 1138 $(parallel_tests) here, they can be generated as needed during 1139 the test run, following our recommendation in the manual. 1140 1141 Remove superfluous line from recheck recheck-html. 1142 * lib/am/check.am (recheck recheck-html): Remove superfluous 1143 line, introduced bogusly in last commit. 1144 11452009-04-06 Akim Demaille <akim@lrde.epita.fr> 1146 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1147 1148 parallel-tests: redo check-html, recheck, recheck-html. 1149 * lib/am/check.am (recheck, recheck-am): Remove. 1150 (recheck-TESTS): Rename to ... 1151 (recheck): ... this and rewrite, factored ... 1152 (recheck-html): ... with this rule. Pass TEST_LOGS rather than 1153 RECHECK_LOGS to `check' and `check-html', respectively, to avoid 1154 running outdated tests. Invoking the public macros ensures 1155 `check_SCRIPTS' etc. are created in time. Do not output errors 1156 for tests that were not run yet. If the testsuite has not run 1157 at all, run all tests. 1158 (check-html): Run `check' target, not `check-TESTS', to ensure 1159 `check_SCRIPTS' etc. are created in time. 1160 (.PHONY, .MAKE, AM_RECURSIVE_TARGETS): Adjust contents. 1161 * tests/parallel-tests2.test: Expose the check-html and 1162 recheck-html issues. 1163 * tests/parallel-tests9.test: Expose the recheck issues. 1164 Bugs in previous version pointed out by Akim, who already had 1165 them fixed in his original version. 1166 11672009-04-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1168 1169 parallel-tests: LOG_COMPILER for tests without known extension. 1170 * automake.in (handle_tests): If we don't match a known 1171 extension, define `LOG_COMPILER' as `$(LOG_COMPILE) 1172 $(AM_LOG_FLAGS) $(LOG_FLAGS)' and use it as %COMPILE% in check2. 1173 * doc/automake.texi (Simple Tests using parallel-tests): 1174 Document it. In the examples, suggest using the AM_*LOG_FLAGS 1175 flags in Makefile.am rather than the variables without `AM_' 1176 prefix. 1177 * lib/Automake/tests/Makefile.am (AM_PL_LOG_FLAGS): Renamed from 1178 (PL_LOG_FLAGS): ... this variable, intended for the user. 1179 * tests/parallel-tests7.test: Extend test. 1180 * NEWS: Update. 1181 Suggestion by Akim Demaille. 1182 1183 More node renaming in the manual. 1184 * doc/automake.texi (Top): Adjust menu to ... 1185 (API Versioning): ... this node being renamed from ... 1186 (API versioning): ... this, and ... 1187 (Wildcards): ... this being renamed from ... 1188 (wildcards): ... this. 1189 Report by Karl Berry. 1190 11912009-04-03 Andreas Schwab <schwab@linux-m68k.org> 1192 1193 * tests/instdir-java.test: Don't require gcj. Skip if javac is 1194 not available. 1195 11962009-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1197 1198 Fix testsuite failures due to nonexistent `dirlist' entries. 1199 * tests/defs.in: When parsing `$aclocaldir/dirlist', only add 1200 existing directories D to aclocal `-I D' flags, as aclocal 1201 errors on nonexisting directories. 1202 Report and analysis by Andreas Schwab. 1203 12042009-03-31 Akim Demaille <akim@lrde.epita.fr> 1205 1206 Fix typo in manual. 1207 * doc/automake.texi (Simple Tests using parallel-tests): Fix 1208 typo. 1209 12102009-03-31 Jim Meyering <meyering@redhat.com> 1211 1212 Avoid test failure due to paranoid TAR_OPTIONS envvar setting. 1213 * tests/txinfo18.test: Don't let a TAR_OPTIONS=--keep-old-files 1214 environment variable setting cause test failure. Fixed in 1215 texi2dvi 4.13. 1216 1217 Use more common spelling in diagnostic: s/canonic/canonical/. 1218 * automake.in (check_typos): s/canonic/canonical/. 1219 12202009-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1221 1222 * configure.ac, NEWS: Bump version to 1.10c. 1223 12242009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1225 1226 * configure.ac, NEWS: Bump version to 1.10b. 1227 * doc/automake.texi (Releases): Add statistics for 1.10b. 1228 1229 * NEWS: Minor update. 1230 1231 Reorganize nodes in the manual. 1232 Avoid texinfo sectioning commands without nodes, by either 1233 introducing new nodes along with menus, or using headings 1234 commands. Adjust all references. 1235 * doc/automake.texi: Throughout the manual, adjust references to 1236 new or changed node names. Rename `non-configured' to 1237 `unconfigured', capitalize headings and section names better. 1238 (Top): List new menus and nodes introduced below. 1239 (Length Limitations): Renamed from ... 1240 (Length limitations): ... this. 1241 (aclocal Options): Renamed from ... 1242 (aclocal options): ... this. 1243 (Macro Search Path): Renamed from ... 1244 (Macro search path): ... this. Rename subsubsections to 1245 subsubheadings. 1246 (Public Macros, Obsolete Macros, Private Macros): Renamed from 1247 (Public macros, Obsolete macros, Private macros): ... these. 1248 (Conditional Subdirectories): Introduce sub menu and split ... 1249 (SUBDIRS vs DIST_SUBDIRS, Subdirectories with AM_CONDITIONAL) 1250 (Subdirectories with AC_SUBST, Unconfigured Subdirectories): 1251 ... into these new nodes. Adjust subsection names to node 1252 names. 1253 (Conditional Sources): Rename subsubsections to subsubheadings. 1254 (Conditional Programs): Likewise. 1255 (Program Variables): Renamed from ... 1256 (Program variables): ... this. 1257 (Libtool Issues): Introduce sub menu and split into ... 1258 (Required file ltmain.sh not found) 1259 (Objects created both with libtool and without): ... these new 1260 nodes. 1261 (Other Objects, Built Sources): Renamed from ... 1262 (Other objects, Built sources): ... these. 1263 (Built Sources Example): Renamed from ... 1264 (Built sources example): this. Rename unnumberedsubsecs to 1265 subsubheadings. 1266 (Man Pages): Renamed from ... 1267 (Man pages): ... this. 1268 (Install): Introduce sub menu and split into ... 1269 (Basics of Installation, The Two Parts of Install) 1270 (Extending Installation, Staged Installs) 1271 (Install Rules for the User): ... these new nodes. 1272 (Dist): Introduce sub menu and split into ... 1273 (Basics of Distribution, Fine-grained Distribution Control) 1274 (The dist Hook, Checking the Distribution) 1275 (The Types of Distributions): ... these new nodes. 1276 (Tests): Introduce sub menu and split into ... 1277 (Simple Tests, Simple Tests using parallel-tests, DejaGnu Tests) 1278 (Install Tests): ... these new nodes. 1279 (Conditionals): Move the portability paragraph up, introduce sub 1280 menu and split into ... 1281 (Usage of Conditionals, Limits of Conditionals): ... these new 1282 nodes. Link to several sections throughout the manual that deal 1283 with specific usage of conditionals. 1284 (CVS): Rename subsections to subheadings. 1285 (maintainer-mode): Likewise. 1286 (Limitations on File Names): Renamed from ... 1287 (limitations on file names): ... this. 1288 (Flag Variables Ordering): Rename subsections to subheadings. 1289 (Renamed Objects): Renamed from ... 1290 (Renamed objects): ... this. 1291 (Dependency Tracking Evolution): Introduce sub menu and split 1292 into ... 1293 (First Take on Dependencies, Dependencies As Side Effects) 1294 (Dependencies for the User, Techniques for Dependencies) 1295 (Recommendations for Tool Writers) 1296 (Future Directions for Dependencies): ... these new nodes. 1297 Report by Karl Berry. 1298 12992009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1300 1301 Update AM_RECURSIVE_TARGETS for parallel-tests. 1302 * lib/am/check.am [PARALLEL_TESTS] (AM_RECURSIVE_TARGETS): 1303 Add check, recheck, check-html, recheck-html. 1304 13052009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1306 Akim Demaille <akim@lrde.epita.fr> 1307 1308 parallel-tests: New target recheck-html. 1309 * lib/am/check.am [PARALLEL_TESTS] (recheck-html): New phony, 1310 recursive target. Factor common implementation with 1311 `check-html'. 1312 * doc/automake.texi (Tests): Document recheck-html. 1313 * tests/parallel-tests2.test: Test it. 1314 13152009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1316 Akim Demaille <akim@lrde.epita.fr> 1317 1318 parallel-tests: redo lazy checking: recheck and RECHECK_LOGS. 1319 Replace the LAZY_TEST_SUITE API with a simpler yet more powerful 1320 one: RECHECK_LOGS specifies those tests which are to be removed 1321 in any case before testing. Provide a `recheck' convenience 1322 target to set RECHECK_LOGS to all failed and unexpectedly passed 1323 tests. Document several ways to limit the set of tests run. 1324 * lib/am/check.am [PARALLEL_TESTS] (RECHECK_LOGS): New variable, 1325 default to $(TESTS_LOGS). 1326 (check-TESTS): Remove $(RECHECK_LOGS) not $(TEST_LOGS). Drop use 1327 of LAZY_TEST_SUITE. 1328 ($(TEST_SUITE_LOG)): Do not output note about lazy rerun, as 1329 LAZY_TEST_SUITE is gone. 1330 (recheck): New target. 1331 (recheck-am, recheck-TESTS): New internal targets. 1332 * doc/automake.texi (Tests): Update @vindex for TESTS and 1333 TEST_LOGS. Replace description of LAZY_TEST_SUITE with a list 1334 of ways the set of tests to be run can be modified. Document 1335 RECHECK_LOGS and the recheck target. 1336 * tests/defs.in: Unset RECHECK_LOGS not LAZY_TEST_SUITE. 1337 * tests/parallel-tests.test: Adjust, replacing LAZY_TEST_SUITE 1338 with corresponding RECHECK_LOGS settings. 1339 * tests/parallel-tests9.test: New tests. 1340 * tests/Makefile.am: Update. 1341 Suggestion and different implementation by Akim Demaille. 1342 1343 parallel-tests: do not mark check-TESTS as `.MAKE'. 1344 * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Remove check-TESTS. 1345 This rule removes files, which should not be executed with BSD 1346 `make -n'. 1347 1348 parallel-tests: warn about $(srcdir), $(top_srcdir) in TESTS. 1349 * automake.in (handle_tests): Warn about portability issue 1350 concerning generated TESTS files listed with a `$(srcdir)/' 1351 or `$(top_srcdir)/' prefix. 1352 * doc/automake.texi (TESTS): Document this issue. Mention that 1353 the parallel-tests driver is still experimental. 1354 * tests/parallel-tests8.test: New test. 1355 * tests/Makefile.am: Update. 1356 1357 check-html: Always create HTML output, note conversion failure. 1358 * lib/am/check.am (check-html): Create `$(TEST_SUITE_HTML)' in 1359 any case. Exit unsuccessfully if HTML creation failed. 1360 * tests/parallel-tests2.test: Amend test to expose this. 1361 13622009-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1363 1364 parallel-tests: per-extension test driver: <EXT>_LOG_COMPILER. 1365 For test files with extension <ext>, introduce the internal 1366 variable <EXT>_LOG_COMPILE, which expands to 1367 $(<EXT>_LOG_COMPILER) $(AM_<EXT>_LOG_FLAGS) $(<EXT>_LOG_FLAGS). 1368 Turn also the lib/Automake/tests testsuite over to the new 1369 test driver. 1370 * doc/automake.texi (Tests): Document `EXT_LOG_COMPILER' and 1371 `EXT_LOG_FLAGS'. 1372 * lib/am/check2.am: Insert `%COMPILE%' right before test. 1373 * automake.in (handle_tests): Substitute `COMPILE' for check2, 1374 empty for tests without extension, and `$(ext_LOG_COMPILE)' for 1375 extension `ext'. In the latter case, define it from the public 1376 components. 1377 * configure.ac (AM_INIT_AUTOMAKE): Use `parallel-test' globally. 1378 * tests/Makefile.am (AUTOMAKE_OPTIONS): Remove, not needed here 1379 any more. 1380 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Split ... 1381 (PL_LOG_COMPILER, PL_LOG_FLAGS): ... into these new variables. 1382 (TESTS_EXTENSIONS): New variable, initialize to `.pl'. 1383 * tests/parallel-tests7.test: New test. 1384 * tests/Makefile.am: Update. 1385 Suggestion by Akim Demaille. 1386 13872009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1388 1389 parallel-tests: also record logs of SKIPped tests. 1390 * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Record 1391 SKIPs as well. 1392 Suggested by Jim Meyering. 1393 1394 Minor optimization in parallel-tests text box creation. 1395 * lib/am/check.am [PARALLEL-TESTS] (am__text_box): Use only one 1396 awk invocation, rather than several tools, to create a text box. 1397 Suggestion from Akim Demaille. 1398 13992009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1400 1401 Rewrite maintainer-check in separate tests, parallelizable. 1402 * Makefile.am (sc_diff_automake_in_automake, sc_perl_syntax) 1403 (sc_no_brace_variable_expansions, sc_rm_minus_f) 1404 (sc_no_for_variable_in_macro, sc_mkinstalldirs) 1405 (sc_pre_normal_post_install_uninstall, sc_perl_no_undef) 1406 (sc_perl_no_split_regex_space, sc_cd_in_backquotes) 1407 (sc_cd_relative_dir, sc_perl_at_uscore_in_scalar_context) 1408 (sc_perl_local_no_parens, sc_perl_local) 1409 (sc_AMDEP_TRUE_in_automake_in, sc_tests_make_without_am_makeflags) 1410 (sc_tests_plain_make, sc_tests_plain_autoconf) 1411 (sc_tests_plain_autoupdate, sc_tests_plain_automake) 1412 (sc_tests_here_document_format, sc_tests_Exit_not_exit) 1413 (sc_tests_automake_fails, sc_tests_plain_aclocal) 1414 (sc_tests_plain_perl, sc_tests_required_after_defs) 1415 (sc_tests_overriding_macros_on_cmdline, sc_tests_plain_sleep) 1416 (sc_tests_plain_egrep_fgrep, sc_mkdir_p, sc_perl_at_substs) 1417 (sc_unquoted_DESTDIR, sc_tabs_in_texi, sc_at_in_texi): New rules, 1418 all phony, all listed in ... 1419 (syntax_check_rules): ... this new variable and split out from ... 1420 (maintainer-check): ... this rule. Depend on $(syntax_check_rules). 1421 1422 * Makefile.am (maintainer-check): Do not complain if DESTDIR is 1423 passed as argument to `make'. 1424 1425 * doc/automake.texi (Cross-Compilation): Fix underfull hbox. 1426 1427 Sync auxiliary files from upstream. 1428 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub, 1429 lib/texinfo.tex: Sync from upstream. 1430 14312009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1432 1433 manual: minor cleanups. 1434 * doc/automake.texi (Yacc and Lex): Adjust spacing in example. 1435 (Mixing Fortran 77 With C and C++): Drop unneeded @page breaks. 1436 1437 Sane (un)install for empty directory variables. 1438 This patch fixes all install and uninstall rules to behave 1439 sanely when $(wheredir) is the empty string, but $(where_HOW) is 1440 nonempty, for all kinds of values of `where' and `HOW'. 1441 * lib/am/data.am (install-%DIR%%PRIMARY%, uninstall-%DIR%%PRIMARY%): 1442 Do not touch the install tree if the corresponding directory variable 1443 $(%NDIR%dir) is empty. 1444 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Likewise. 1445 * lib/am/libs.am (install-%DIR%LIBRARIES, uninstall-%DIR%LIBRARIES): 1446 Likewise. 1447 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Likewise. 1448 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES, uninstall-%DIR%LTLIBRARIES): 1449 Likewise. 1450 * lib/am/mans.am (install-man%SECTION%, uninstall-man%SECTION%): 1451 Likewise. 1452 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS): 1453 Likewise. 1454 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON): 1455 Likewise. 1456 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS): 1457 Likewise. 1458 * lib/am/texinfos.am (install-dvi-am, install-html-am, install-pdf-am) 1459 (install-ps-am, uninstall-dvi-am, uninstall-html-am, uninstall-pdf-am) 1460 (uninstall-ps-am): Likewise. 1461 * tests/instdir2.test, tests/instdir-java.test, 1462 tests/instdir-lisp.test, tests/instdir-ltlib.test, 1463 tests/instdir-prog.test, tests/instdir-python.test, 1464 tests/instdir-texi.test: New tests. 1465 * tests/Makefile.am: Update. 1466 * NEWS: Update. 1467 Suggestion by Akim Demaille. 1468 1469 Ensure that empty directory variables work with empty content variables. 1470 This test ensures that, if both $(wheredir) and $(where_HOW) are 1471 the empty string, then the `install' and `uninstall' rules behave 1472 sanely, for several directory variables `wheredir' and several 1473 primaries `HOW'. 1474 * tests/instdir.test: New test. 1475 * tests/Makefile.am: Update. 1476 14772009-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1478 1479 Use --tag=FC with libtool also for .f90 files. 1480 * automake.in: Set 'libtool_tag' for language `fc'. 1481 * tests/fort5.test: Grep for the tag. 1482 * THANKS: Update. 1483 Report by John R. Cary. 1484 14852009-03-22 Peter Breitenlohner <peb@mppmu.mpg.de> 1486 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1487 1488 For PR automake/533: 1489 DISTFILES containing a directory and files in that directory. 1490 When the source tree contains non-writable files or directories 1491 (as happens during distcheck), and directories or entries 1492 thereof are listed multiple times in variables to be 1493 distributed, then the corresponding directories below $(distdir) 1494 need to be made writable recursively. Since file modes should 1495 not change, they need to be copied recursively using `cp -f'. 1496 * lib/am/distdir.am: Handle this situation. 1497 * tests/distdir.test: Extend test to those cases. 1498 * NEWS: Update. 1499 Report by Peter Breitenlohner. 1500 15012009-03-22 Jim Meyering <meyering@redhat.com> 1502 1503 Fix a documentation typo. 1504 * doc/automake.texi (Headers): Clarify the note telling when it's 1505 better not to use noinst_HEADERS. 1506 15072009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1508 1509 Define AM_RECURSIVE_TARGETS, for gnulib's GNUmakefile. 1510 This new macro lists all public targets which invoke `make' 1511 recursively, or depend on targets which do so. It allows to 1512 prevent parallelism selectively, when multiple targets are 1513 passed on the `make' command line. 1514 * lib/am/distdir.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS): New 1515 macro. 1516 * lib/am/subdirs.am (AM_RECURSIVE_TARGETS): Likewise. 1517 * lib/am/tags.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS): 1518 Likewise. 1519 15202009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1521 1522 Fix LAZY_TEST_SUITE handling and $(TEST_SUITE_LOG) recreation. 1523 * lib/am/check.am (check-TESTS): Expand `$(TEST_LOGS)' only once 1524 in the rule command, for systems with low command line limits. 1525 Remove $(TEST_SUITE_LOG) even in LAZY_TEST_SUITE mode. 1526 ($(TEST_SUITE_LOG)): Always recreate $(TEST_SUITE_LOG). Mention 1527 lazy mode in the summary output. 1528 * tests/parallel-tests.test: Test LAZY_TEST_SUITE semantics. 1529 15302009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1531 1532 Fix parallel-tests with empty $(TESTS) for BSD make. 1533 * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Ignore 1534 empty line stemming from empty $(TEST_LOGS), to avoid counting 1535 zero tests as one. 1536 (check-TESTS): If `$(TESTS)' is empty, override TEST_LOGS to be 1537 empty, rather than `.log', for BSD make. 1538 * tests/parallel-tests6.test: New test. 1539 * tests/Makefile.am: Update. 1540 1541 Mark check-html and check-TESTS as recursive for BSD make. 1542 * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Add check-TESTS 1543 and check-html prerequisites. 1544 1545 Match XFAIL_TESTS correctly with Solaris make. 1546 * lib/am/check.am [PARALLEL_TESTS]: VPATH rewriting may have 1547 changed test names, so srcdir needs to be taken into account 1548 explicitly when checking against the list of tests expected 1549 to fail. Fixes spurious FAILures from XFAIL_TESTS. 1550 1551 Use append mode to capture parallel test output. 1552 * tests/lisp8.test: Use append mode for output from `make -j', 1553 to avoid dropped lines. 1554 * tests/parallel-tests3.test: Likewise. 1555 1556 parallel-tests: Fix summary output. 1557 * lib/am/check.am (am__text_box): Fix unportable sed script, 1558 replacing `\n' in the right hand side of an `s' command with 1559 a literal newline. Kudos to Bruno Haible for the newline idea. 1560 * tests/parallel-tests.test: Update test to expose this. 1561 15622009-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1563 1564 Overhaul of tests/README. 1565 * tests/README: General overhaul. Mention parallel test suite 1566 execution, the test-suite.log file; document `Exit' vs. `exit', 1567 `defs' vs. `defs-p', the naming of `parallel-tests' tests. 1568 * README: Simplify, point to tests/README. 1569 1570 Documentation for the parallel-tests driver. 1571 * doc/automake.texi (Tests, Options): Document the `parallel-tests' 1572 option, including new features of the test driver. 1573 * NEWS: Update. 1574 1575 New tests for `parallel-tests'. 1576 * tests/parallel-tests.test: New file, to expose a bunch of 1577 features of `parallel-tests': VERBOSE, clean, TEST_SUITE_LOG, 1578 test dependencies, DISABLE_HARD_ERRORS. 1579 * tests/parallel-tests2.test: New file, test check-html. 1580 * tests/parallel-tests3.test: New file, test concurrency. 1581 * tests/parallel-tests4.test: New file, test suffix rules. 1582 * tests/parallel-tests5.test: New file, demonstrate compile/test 1583 concurrency. 1584 * tests/defs.in: Add a `required' check for rst2html. 1585 * tests/Makefile.am: Update. 1586 1587 parallel-tests: Ensure backward-compatible semantics. 1588 For each test in Automake's test suite that uses TESTS, generate 1589 an identical one that uses the `parallel-tests' option, for 1590 coverage of backward-compatible functionality. 1591 * tests/gen-parallel-tests: New file, generates distributed 1592 Makefile.am snippet tests/parallel-tests.am to list all tests 1593 that use the TESTS interface but not yet the `parallel-tests' 1594 option, with names mangled to use suffix `-p.test', in ... 1595 (parallel_tests): ... this new make macro. 1596 * tests/Makefile.am ($(srcdir)/parallel-tests.am) 1597 ($(parallel_tests), defs-p): New rules. 1598 (TESTS): Add check11.test and $(parallel_tests). 1599 (check_SCRIPTS): Add defs-p, $(parallel_tests). 1600 (check-clean-local): Remove `defs-p'. 1601 (EXTRA_DIST): Distribute gen-parallel-tests. 1602 (MAINTAINERCLEANFILES): New variable, remove $(parallel_tests). 1603 * bootstrap: Generate parallel-tests.am. 1604 * tests/check8.test: Check for circular dependencies in rules. 1605 * tests/check11.test: New test, check that SKIPs are not counted 1606 as passed tests. 1607 * tests/defs.in: Unset DISABLE_HARD_ERRORS, LAZY_TEST_SUITE, 1608 VERBOSE, so the tests are not influenced by the way our test 1609 suite is invoked. 1610 16112009-03-08 Akim Demaille <akim@lrde.epita.fr> 1612 Jim Meyering <jim@meyering.net> 1613 Benoit Sigoure <tsuna@lrde.epita.fr> 1614 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1615 1616 Parallel test execution: new option `parallel-tests'. 1617 * automake.in (handle_tests): Set new conditional PARALLEL_TESTS 1618 when reading check.am. Handle option `parallel-tests' and all 1619 its new semantics. Define macros TEST_SUFFIXES, TEST_SUITE_LOG, 1620 TEST_SUITE_HTML, TEST_LOGS, TEST_LOGS_TMP, suffix rules if 1621 applicable, and per-target rules for other tests. Add all log 1622 files to %clean_files at the `MOSTLY_CLEAN' level. 1623 * lib/Automake/Options.pm (_process_option_list): Accept 1624 `parallel-tests'. 1625 * lib/am/check.am [!PARALLEL_TESTS] (check-TESTS): Move existing 1626 testsuite driver under this new conditional. 1627 [PARALLEL_TESTS] 1628 (am__rst_title, am__rst_section, am__text_box am__sh_e_setup) 1629 (am__check_pre, am__check_post): New internal macros. 1630 ($(TEST_SUITE_LOG), check-TESTS, .log.html, check-html): New 1631 rules. 1632 * lib/am/check2.am: New file. 1633 * lib/am/Makefile.am (dist_am_DATA): Add check2.am. 1634 * tests/Makefile.am (AUTOMAKE_OPTIONS): Use `parallel-tests'. 1635 (clean-local): Renamed from distclean-local. 1636 * tests/defs.in: Drop VERBOSE handling, not needed here any more. 1637 16382009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1639 1640 Rename `silent' mode to `silent-rules' mode. 1641 * automake.in (define_verbose_var, verbose_flag) 1642 (define_verbose_tagvar, handle_options, handle_languages) 1643 (handle_configure, parse_arguments): Rename the `silent' option 1644 to `silent-rules', so it coincides with the `--silent-rules' 1645 command line option; adjust all code and comments. 1646 * lib/Automake/Options.pm (_process_option_list): Likewise. 1647 * doc/automake.texi (Invoking Automake, Libtool Flags, Options): 1648 Likewise. 1649 * NEWS: Adjust. 1650 * tests/dollarvar.test, tests/silent.test, tests/silent2.test, 1651 tests/silent3.test, tests/silent4.test, tests/silent5.test, 1652 tests/silent6.test, tests/silent7.test: Likewise. 1653 Suggestion by Jan Engelhardt. 1654 16552009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1656 1657 `silent' mode unconditionally overrides portability-recursive. 1658 * automake.in (parse_arguments): Don't handle a global `silent' 1659 option here; instead, ... 1660 (handle_options): ... handle the "normal" `silent' option here. 1661 Override `portability-recursive' here, at the last point we deal 1662 with options, instead ... 1663 * lib/Automake/Options.pm (_process_option_list): ... of here. 1664 * tests/silent6.test: Replace unportable make snippet, remove 1665 FIXME note, add more test cases of options passed in the various 1666 locations. 1667 1668 Drop extra line from compile rules when `silent' is not used. 1669 * lib/am/depend2.am [!%FASTDEP%]: Only use the `%VERBOSE% 1670 @AM_BACKSLASH@' extra line if ?VERBOSE?. 1671 Report by Ralf Corsepius. 1672 16732009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1674 1675 Keep `--silent-rules' across triggered automake reruns. 1676 * automake.in (usage): Reformat to be a bit clearer. 1677 (handle_configure): Remove substitutions %STRICTNESS% and 1678 %USE-DEPS% in favor of a new substitution %AUTOMAKE-OPTIONS% 1679 that carries over all needed flags. 1680 * lib/am/configure.am (%MAKEFILE-IN%): Adjust rule. 1681 * tests/flavor.test: New test, to ensure --$flavor (gnu, 1682 gnits, foreign, cygnus), --ignore-deps, and --silent-rules are 1683 preserved across automake reruns. 1684 * tests/Makefile.am: Update. 1685 16862009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1687 1688 Provide variables for silencing of user rules. 1689 * automake.in (handle_languages): Always define `AM_V_GEN' and 1690 `AM_V_at'. 1691 * doc/automake.texi (Options): Document these flags. 1692 * tests/silent7.test: New test. 1693 * tests/Makefile.am: Update. 1694 1695 Redo variable naming for `silent' machinery. 1696 The public variables are named `AM_V_' plus the compiler 1697 short-hand now, e.g.: AM_V_CC, AM_V_CXXLD, AM_V_GEN. The 1698 dispatch variables are internal details and begin with 1699 `am__v_'. 1700 * automake.in (verbose_var): Update comment. 1701 (verbose_private_var): New function. Order functions so that 1702 ones not needed outside this section are listed first. 1703 (verbose_dispatch): Remove, no need to factor this. 1704 (define_verbose_var, define_verbose_libtool): Use 1705 verbose_private_var. 1706 (define_verbose_tagvar): Likewise; and simplify. 1707 Report by Jan Engelhardt. 1708 1709 Let -Wportability turn on/off the portability-recursive channel. 1710 * lib/Automake/ChannelDefs.pm (switch_warning): switch 1711 `portability-recursive' channel as well if changing the 1712 `portability' channel. 1713 * tests/dollarvar2.test: New test. 1714 * tests/Makefile.am: Update. 1715 17162009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1717 1718 New automake command line option `--silent-rules'. 1719 * automake.in (parse_arguments): Accept `--silent-rules; let it 1720 override command line warning settings. 1721 (usage): Document it. 1722 * doc/automake.texi (Invoking Automake): Document it. 1723 * NEWS: Update. 1724 * tests/dollarvar.test: Also test `--silent-rules'. 1725 * tests/pr300-ltlib.test: Use `$MAKE V=1' to enable verbose 1726 output, which is matched later in the test. 1727 * tests/silent6.test: New test. 1728 * tests/Makefile.am: Update. 1729 1730 Documentation and tests for the `silent' option. 1731 * NEWS: Update. 1732 * doc/automake.texi (Invoking Automake): `silent' turns off some 1733 portability warnings. 1734 (Libtool Flags): `silent' silences libtool. 1735 (Options): Document the `silent' flag. 1736 * tests/dollarvar.test, tests/silent.test, tests/silent2.test, 1737 tests/silent3.test, tests/silent4.test, tests/silent5.test: New 1738 tests. 1739 * tests/Makefile.am: Update. 1740 * Makefile.am (maintainer-check): Ignore `DESTDIR' and `V' when 1741 checking for make variables that should not be overridden from 1742 the command line. 1743 17442009-03-07 Jan Engelhardt <jengelh@medozas.de> 1745 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1746 1747 Implement `silent' build rules. 1748 * automake.in (ccer): New field in the language structure. 1749 Initialize it for all registered languages. 1750 (verbose_var, verbose_flag, verbose_dispatch) 1751 (silent_flag, define_verbose_var, define_verbose_tagvar) 1752 (define_verbose_libtool): New functions. 1753 (handle_languages, handle_programs, handle_libraries) 1754 (handle_ltlibraries, handle_configure) 1755 (define_compiler_variable, define_linker_variable) 1756 (define_per_target_linker_variable): Use them where appropriate 1757 to define variables to implement the silent output machinery. 1758 * lib/Automake/Options.pm (_process_option_list): Accept 1759 `silent', turning off `portability-recursive'. 1760 * lib/am/depend2.am: Add %VERBOSE% and %SILENT% prefixes where 1761 appropriate. 1762 * lib/am/lex.am: Likewise. 1763 * lib/am/library.am: Likewise. 1764 * lib/am/ltlibrary.am: Likewise. 1765 * lib/am/program.am: Likewise. 1766 * lib/am/yacc.am: Likewise. 1767 * m4/init.m4 (AM_INIT_AUTOMAKE): Substitute, but do not define, 1768 AM_BACKSLASH. 1769 * tests/defs.in: Unset `V', to avoid influencing inner tests. 1770 17712009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1772 1773 New channel `portability-recursive'. 1774 Add new channel for portability warnings about recursive make 1775 variable expansions `$(var1$(var2))'. Enable it alongside 1776 `-Wportability'. 1777 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Register 1778 channel `portability-recursive'. 1779 * lib/Automake/Variable.pm (_VARIABLE_CHARACTERS) 1780 (_VARIABLE_RECURSIVE_PATTERN): New variables. 1781 (check_variable_expansions): Diagnose recursive variable 1782 expansions through the new channel. 1783 17842009-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1785 1786 * NEWS: Update. 1787 17882009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1789 1790 Ignore warnings from autom4te about Libtool macros. 1791 * tests/ltinstloc.test: When testing for presence of warnings, 1792 filter out any that are not interesting for this test, e.g., 1793 warnings about installed files or about bogusly named cache 1794 variables in libtool.m4, emitted by recent Autoconf when older 1795 Libtool is used. 1796 17972009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1798 1799 Relax depcomp test for MSVC to not require minuso. 1800 * m4/depend.m4 (_AM_DEPENDENCIES): When checking the msvisualcpp 1801 and msvcmsys depmodes, do not require `-c -o' to work just yet. 1802 It is not needed by the depcomp script for these depmodes, and 1803 works around the ordering issue between the tests. 1804 Report by Peter Rosin. 1805 18062009-03-09 Peter Rosin <peda@lysator.liu.se> 1807 1808 * tests/compile2.test: Fix typo. 1809 18102009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1811 1812 Improve NetBSD 'make -n' output for many standard targets. 1813 * automake.in (handle_tags): Let .MAKE depend on 1814 `tags-recursive' and `ctags-recursive' if appropriate. 1815 (handle_all): Likewise for `all'. 1816 (do_check_merge_target): Likewise for `check-am' and `check'. 1817 * lib/am/ansi2knr.am (.MAKE): Depend on %ANSI2KNR-DIR%/ansi2knr. 1818 * lib/am/install.am [%?maybe_BUILT_SOURCES%] (.MAKE): Depend on 1819 `install'. 1820 * tests/maken3.test, tests/maken4.test: New tests. 1821 * tests/Makefile.am: Update. 1822 1823 Improve `make -n dist' and `make -n distcheck' for GNU make. 1824 Ensure that `make -n dist' and `make -n distcheck' do not change 1825 files, due to GNU make executing rules containing `$(MAKE)'. 1826 * lib/am/distdir.am (distdir): Separate the creation of 1827 `$(distdir)/$$subdir' for `$(DIST_SUBDIRS)' and the recursion 1828 into the `$(DIST_SUBDIRS)' in two separate rule commands. 1829 (distcheck): Exit recursive rule early when run with `make -n', 1830 as detected by a witness file. 1831 * tests/maken.test, tests/maken2.test: New tests. 1832 * tests/Makefile.am: Update. 1833 * NEWS: Update. 1834 18352009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1836 1837 Solaris make testsuite fixes. 1838 * tests/check10.test: When a rule fails, Solaris make will 1839 output the complete command that failed; in this case the test 1840 suite driver. Adjust the test to not bogusly match lines from 1841 the driver, rather than its output. 1842 * tests/distcleancheck.test: Avoid triggering VPATH rewriting, 1843 not desirable in this test. 1844 * tests/specflg10.test: Use BUILT_SOURCES to specify an 1845 intermediate target, so Solaris make knows what to do. 1846 1847 testsuite: SKIP compile tests if configure found no compiler. 1848 * tests/depend6.test: configure will exit 77 if AC_PROG_CC found 1849 no working compiler. Allow the test to be SKIPped in that case. 1850 * tests/postproc.test: Likewise. 1851 * tests/pr243.test: Likewise. 1852 * tests/pr266.test: Likewise. 1853 1854 Fix maintainer-check fallout. 1855 * tests/compile2.test: Use `Exit', not `exit'. 1856 18572009-03-07 Peter Breitenlohner <peb@mppmu.mpg.de> 1858 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1859 1860 Extract correct man section from files in man_MANS. 1861 * lib/am/mans.am: Extract correct man section in the presence of 1862 multiple dots in the file base name and/or directory components. 1863 * tests/man5.test: New test case. 1864 * tests/Makefile.am: Update. 1865 18662009-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1867 1868 * doc/automake.texi (maintainer-mode): Fix logic in 1869 AM_MAINTAINER_MODE description. 1870 * THANKS: Update. 1871 Report by Daniel Kahn Gillmor. 1872 18732009-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1874 1875 * lib/gnupload: Change conffile name to `.gnuploadrc'. 1876 18772009-03-04 William Pursell <bill.pursell@gmail.com> 1878 1879 Replace bare `automake' with `@command{automake}' or `Automake'. 1880 * doc/automake.texi: Avoid bare `automake' in the manual, 1881 replacing occurrences with `@command{automake}' when the command 1882 is meant, and `Automake' when speaking about the software 1883 package in general. 1884 18852009-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1886 1887 * lib/depcomp: Various portability and quoting nits. 1888 1889 reformat gnupload script. 1890 * lib/gnupload: Reformat and reindent. 1891 1892 gnupload touchups. 1893 * lib/gnupload (conffile): New variable. Use throughout. 1894 (dry_run): Use `false' and `:' values. Show, don't execute, 1895 gpg signing commands upon --dry-run. 1896 (usage): Typo and formatting fixes. Mention that commands are 1897 applied in order. 1898 (argument loop): Factorize a bit, fix quoting. 1899 (dprint, mkdirective, mksymlink, upload): Formatting and 1900 portability fixes. 1901 19022009-03-04 Sergey Poznyakoff <gray@gnu.org> 1903 1904 Various gnupload improvements. 1905 Add support for uploading to download.gnu.org.ua. 1906 Add support for a .gnupload configuration file. 1907 Support creating and removing symlinks. 1908 Allow for several operations in a single invocation. 1909 Add debugging features. 1910 * lib/gnupload: New options --delete, --symlink, --rmsymlink, 1911 --symlink-regex, --dry-run; support `--' to separate options and 1912 commands from files. New target download.gnu.org.ua. Expand 1913 `.gnupload' file contents before command line arguments. 1914 (usage): Expand. 1915 (dprint, mkdirective, mksymlink, upload): New functions. 1916 * THANKS: Update. 1917 19182009-03-03 Peter Rosin <peda@lysator.liu.se> 1919 1920 Add depmode=msvcmsys for Microsoft Visual C++ on MSYS. 1921 * lib/depcomp [msvisualcpp]: Fork fewer processes. Filter out 1922 libtool in the preprocessor invocation (as is done in 1923 depmode=cpp). Silence compiler stderr. 1924 [msvcmsys]: New depmode as a derivative of depmode=msvisualcpp. 1925 msvcmsys transforms any backslashes into forward slashes to 1926 make the grep in depend.m4 match, instead of the "cygpath -u" 1927 that is used in msvisualcpp. 1928 19292009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1930 Peter Rosin <peda@lysator.liu.se> 1931 1932 Fix w32 path handling in the `compile' script. 1933 * lib/compile: Handle colons and backslashes in win32 paths. 1934 * tests/compile2.test: New test. 1935 * tests/Makefile.am: Update. 1936 Report and initial patch by Peter Rosin. 1937 19382009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1939 1940 Fix `use constant' usage for MSYS Perl 5.6.0. 1941 * automake.in (QUEUE_MESSAGE, QUEUE_CONF_FILE, QUEUE_LOCATION) 1942 (QUEUE_STRING): Define using one `use constant' each; as perl 1943 5.6.0 (on MSYS) does not understand `use constant { ... }'. 1944 * THANKS: Update. 1945 Report by Peter Rosin. 1946 19472009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1948 1949 Fix recursive html and install-* doc rules for BSD make. 1950 * automake.in (%required_targets): Add html-am, 1951 install-html-am, install-dvi-am, install-pdf-am, install-ps-am, 1952 install-info-am. 1953 * tests/txinfo32.test: New test. 1954 * tests/Makefile.am: Update. 1955 1956 Fix comment typo. 1957 * lib/am/distdir.am (distcheck): Fix typo in comment. 1958 1959 Ignore generated files below doc/amhello for git. 1960 * doc/amhello/.gitignore: New file. 1961 19622009-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1963 1964 * doc/automake.texi (Program variables): Add cross reference to 1965 `Flag Variables Ordering' node. 1966 Report by Karl Berry. 1967 19682009-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1969 1970 Fix mmodely.test to work on Solaris 10. 1971 * tests/mmodely.test: Define yylex, to satisfy needed symbol in 1972 libfl. Return from main instead of using exit, undeclared. 1973 * THANKS: Update. 1974 Report by Chris Hoogendyk. 1975 19762009-01-30 Karl Berry <karl@freefriends.org> 1977 1978 * lib/gnupload: Add download URL to --help output. 1979 19802009-01-23 Eric Blake <ebb9@byu.net> 1981 1982 Use no-arg macros via AC_REQUIRE for consistency. 1983 * m4/init.m4 (AM_INIT_AUTOMAKE): Require, rather than directly 1984 expand, AM_PROG_INSTALL_SH and AM_PROG_INSTALL_STRIP. 1985 * configure: Regenerate. 1986 19872009-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1988 1989 Bump copyright years. 1990 * aclocal.in (write_aclocal, version): Bump copyright years. 1991 * automake.in (gen_copyright, version): Likewise. 1992 * doc/automake.texi: Likewise. 1993 19942008-12-29 Chris Pickett <chris.pickett@mail.mcgill.ca> (tiny change) 1995 1996 * doc/automake.texi (LIBOBJS): Clarify overriding of 1997 `*_DEPENDENCIES'. 1998 * THANKS: Update. 1999 20002008-12-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2001 2002 Revamp semantics for `missing help2man' and manpage distribution. 2003 Previously, `missing help2man' would create a missing man page 2004 containing an error message, and exit 1. This does not play 2005 well with `make': the next run will see this particular man page 2006 as being up to date, and will only error out on the next 2007 generated man page, if any; repeat until all pages are done. 2008 This patch changes `missing' to exit successfully in this case, 2009 but `make dist' will ensure that no such man pages are packaged. 2010 * lib/missing: Exit successfully even if we create a replacement 2011 page due to missing help2man. 2012 * automake.in (make_paragraphs): Define %HAVE-MANS% to be true 2013 if this makefile deals with man pages. 2014 * lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%, 2015 check that no man page in $(MANS) contains the replacement text 2016 from `missing'. 2017 * tests/man4.test: New test. 2018 * tests/Makefile.am: Update. 2019 * NEWS: Reorder a bit, update. 2020 * THANKS: Update. 2021 Report by Werner Lemberg and Karl Berry. 2022 2023 Do not use 'global' for makefile-wide settings. 2024 * doc/automake.texi (Linking, Libtool Flags) 2025 (Program and Library Variables, Flag Variables Ordering): 2026 Reword instances of `global variables' that really mean 2027 makefile-wide ones. 2028 * THANKS: Update. 2029 Report by Andreas Bergmeier. 2030 2031 Fix config.status depfiles failure. 2032 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Commands are 2033 again a single shell brace group, so they are correctly skipped 2034 when dependencies are turned off. The failure is noisy with 2035 ksh only. 2036 * tests/depend6.test: New test. 2037 * tests/Makefile.am: Adjust. 2038 * THANKS: Update. 2039 Report and different suggested patch by Markus Duft. 2040 20412008-12-21 Zoltan Rado <z.rado@chello.hu> (tiny change) 2042 2043 * doc/automake.texi (DESTDIR): Fix a couple of typos. 2044 * THANKS: Update. 2045 20462008-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2047 2048 Fix nonportable sed script in 'missing'. 2049 * lib/missing: In sed script, do not use ';' after 't' commands. 2050 20512008-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2052 2053 PR automake/531: 2054 * doc/automake.texi (amhello Explained) 2055 (Mixing Fortran 77 With C and C++): Fix broken links to 2056 Autoconf manual. 2057 Report by Michael Ploujnikov. 2058 20592008-12-07 Michael Ploujnikov <ploujj@gmail.com> (tiny change) 2060 2061 * doc/automake.texi (Optional, Future of aclocal): Various 2062 spelling and grammar fixes. 2063 * THANKS: Update. 2064 20652008-12-03 William Pursell <bill.pursell@gmail.com> 2066 2067 Simple typographical and grammar errors in automake.texi. 2068 * doc/automake.texi: Fix object/article consistency (eg "an 2069 flag" becomes "a flag"), correct minor punctuation errors, etc. 2070 2071 * doc/automake.texi (Auxiliary Programs, Python, Rebuilding): 2072 Replace 'configure' with '@command{configure}' as appropriate. 2073 20742008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2075 2076 Fixup release rules. 2077 * Makefile.am (cvs-diff): Remove. 2078 (git-dist): Do not use clcommit any more. Use new-style tag 2079 name. Pass $(AM_MAKEFLAGS) to $(MAKE). 2080 (git-diff): Adjust. 2081 (git-release): Do not upload to sources.redhat.com. 2082 20832008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2084 2085 Fix portability issues in distcleancheck_listfiles doc example. 2086 * doc/automake.texi (Dist): In the `distcleancheck_listfiles' 2087 code example, add `.' path, for Solaris `find', also rewrite so 2088 `{}' appears only once and as separate argument, for Posix. 2089 * tests/distcleancheck.test: New test. 2090 * tests/Makefile.am: Update. 2091 * THANKS: Update. 2092 Report by Jan Engelhardt and Andreas Schwab. 2093 20942008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2095 Jim Meyering <jim@meyering.net> 2096 2097 Cope with whitespace in $MISSING and $install_sh. 2098 * configure.ac (am_AUTOHEADER): New substitution, save the value 2099 of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING. 2100 * tests/defs.in: Use am_AUTOHEADER. 2101 * lib/am/install.am: Fix typo. 2102 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable 2103 single-quote quoting to install_sh, but only if needed. 2104 * m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote 2105 quoting to MISSING, but only if needed. 2106 * m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or 2107 $srcdir contain shell meta-characters that cannot be handled; 2108 space and tab are allowed in the former only. 2109 * tests/sanity.test: New test. 2110 * tests/Makefile.am: Adjust. 2111 * NEWS: Update. 2112 Reports by Jim Meyering and others. 2113 21142008-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2115 2116 Let `missing' also work with versioned and prefixed programs. 2117 * lib/missing: Ignore prefixes of `gnu-', `gnu', and `g' when 2118 testing for known programs; also, ignore suffixes. 2119 * tests/missing.test: Amend test. 2120 * NEWS, THANKS: Update. 2121 Report by Tim Rice. 2122 21232008-11-23 William Pursell <bill.pursell@gmail.com> 2124 2125 * doc/automake.texi (Macro search path, Extending aclocal) 2126 (Local Macros, Serials, Public macros, Directories) 2127 (Conditional Subdirectories, Nesting Packages) 2128 (Building a program, Libtool Modules) 2129 (Program and Library Variables, Default _SOURCES, LIBOBJS): 2130 Correct verb/object tense agreement, swap some words, 2131 and general trivial cleanup. 2132 21332008-11-22 William Pursell <bill.pursell@gmail.com> 2134 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2135 2136 * doc/automake.texi (VPATH Builds, Nested Packages) 2137 (Length limitations, Auxiliary Programs, Invoking Automake) 2138 (Requirements, Optional): Fix typos and grammaros, correct URL 2139 to 'config' source repository. Rewrite description of AC_SUBST. 2140 (true): Cross-reference to `Default _SOURCES' node. 2141 21422008-11-22 William Pursell <bill.pursell@gmail.com> 2143 2144 * configure.ac: Quote APIVERSION. 2145 21462008-11-22 Jim Meyering <meyering@redhat.com> 2147 2148 * tests/xz.test: Fix typo introduced by Ralf in last patch. 2149 2150 Add xz compression support. 2151 * NEWS: Mention xz as well as lzma (xz will displace lzma). 2152 * automake.in (handle_dist): Recognize dist-xz. 2153 (make_paragraphs): Map XZ to dist-xz. 2154 * doc/automake.texi (Dist): Add dist-xz. 2155 (Options): Likewise. 2156 * lib/Automake/Options.pm (_process_option_list): Accept 2157 dist-xz. 2158 * lib/am/distdir.am (dist-xz): New rule. 2159 (dist dist-all): Add command to create an xz-compressed tarball. 2160 (distcheck): Handle xz-compressed tarballs just like the others. 2161 * tests/xz.test: New file, based on nogzip.test. 2162 * tests/Makefile.am (TESTS): Add xz.test. 2163 21642008-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2165 2166 When installing COPYING, recommend adding the file to VCS. 2167 * automake.in (require_file_internal): If installing `COPYING', 2168 mention that we install the GPLv3 file and recommend adding the 2169 file to version control. 2170 * doc/automake.texi (Invoking Automake): Point to `Gnits' node 2171 for `--add-missing'. 2172 (Gnits): Clarify semantics: that for strictness gnu or higher, 2173 INSTALL is installed, and that COPYING is installed as GPLv3 2174 if no COPYING file exists. 2175 * tests/license2.test: New test. 2176 * tests/Makefile.am: Update. 2177 * NEWS, THANKS: Update. 2178 Report by Brian Cameron. 2179 21802008-11-20 William Pursell <bill.pursell@gmail.com> 2181 2182 * doc/automake.texi (Timeline): Fix typos and grammaros. 2183 21842008-11-12 Karl Berry <karl@freefriends.org> 2185 2186 New gnupload option --delete to remove archive files. 2187 * lib/gnupload: Accept --delete to remove files from 2188 alpha.gnu.org or ftp.gnu.org. 2189 21902008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2191 2192 Testsuite fixes for ksh. 2193 * tests/check10.test: Add ':' as last command in subshell, for 2194 zero exit status of the subshell. 2195 * tests/parallel-am.test: Do not let failing 'unset' of 2196 nonexistent variable exit the test. 2197 * tests/parallel-am2.test: Likewise. 2198 * tests/parallel-am3.test: Likewise. 2199 22002008-11-11 Charles Wilson <libtool@cwilson.fastmail.fm> (tiny change) 2201 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2202 2203 Cleanup config.lt in case LT_OUTPUT is in use. 2204 * lib/am/libtool.am [TOPDIR_P] (distclean-libtool): clean up 2205 config.lt as well as libtool. 2206 * tests/libtoo11.test: New test. 2207 * tests/Makefile.am: Update. 2208 * NEWS: Update. 2209 22102008-11-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2211 2212 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub, 2213 lib/texinfo.tex: Sync from upstream. 2214 22152008-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2216 2217 Update to GFDL 1.3. 2218 * doc/fdl.texi: Update to GFDL 1.3. 2219 * doc/automake.texi (GNU Free Documentation License): Adjust. 2220 * NEWS: Update. 2221 2222 * NEWS: Fix typos. 2223 * automake.in: Fix typos in comments. Remove extraneous 2224 whitespace. 2225 22262008-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2227 2228 Cope with absent Perl modules threads and Thread::Queue. 2229 * automake.in: Instead of `use threads', use `require threads; 2230 import threads' inside a BEGIN section. Likewise for 2231 Thread::Queue. 2232 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise. 2233 * lib/Automake/tests/Condition-t.pl: Likewise. 2234 * lib/Automake/tests/DisjConditions-t.pl: Likewise. 2235 * configure.ac: Likewise, use `require' and `import'. 2236 Report by Eric Blake, fix suggested by Ben Pfaff. 2237 22382008-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2239 2240 Multiple 'make uninstall' should not fail even for TEXINFOS. 2241 * lib/am/texinfos.am (uninstall-info-am): Do not fail due to 2242 install-info if the installed file does not exist (any more). 2243 * tests/txinfo26.test: Issue multiple `make uninstall'. 2244 * tests/instmany-mans.test: Likewise. 2245 * tests/instmany-python.test: Likewise. 2246 * tests/instmany.test: Likewise. 2247 * tests/txinfo26.test: Likewise. 2248 * NEWS: Update. 2249 22502008-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2251 2252 New public macro AM_SUBST_NOTMAKE. 2253 * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke 2254 _AM_SUBST_NOTMAKE with arguments. 2255 * doc/automake.texi (Optional): Document it. 2256 * NEWS: Update. 2257 * tests/subst4.test: New test. 2258 * tests/Makefile.am: Update. 2259 Suggestion by Bruno Haible. 2260 2261 Fix regression introduced by AM_DEFAULT_SOURCE_EXT. 2262 * automake.in (handle_source_transform): Use the right variable 2263 when determining whether to apply the old rule for the libtool 2264 library default source name. 2265 Testsuite failure exposed by Bob Proulx' build daemon. 2266 22672008-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2268 2269 New maintainer target release-stats. 2270 * Makefile.am (release-stats): New target, to help computing the 2271 entries in the statistics table in automake.texi. 2272 * doc/automake.texi (Releases): Reformat a bit. Add number of 2273 generated files. Add entry for 1.10.1. 2274 2275 Choose default source extension: AM_DEFAULT_SOURCE_EXT. 2276 * automake.in (handle_source_transform): Accept unconditional 2277 literal extension in AM_DEFAULT_SOURCE_EXT as override for the 2278 default source extension `.c'. If set, ignore the old default 2279 source rule for libtool libraries. 2280 * doc/automake.texi (Default _SOURCES): Document this. 2281 * NEWS: Update. 2282 * tests/specflg10.test: New test. 2283 * tests/Makefile.am: Update. 2284 Suggestion by Akim Demaille. 2285 2286 Fix maintainer-check failure. 2287 * tests/parallel-am.test: Rename variable to not match pattern 2288 used in maintainer-check. 2289 22902008-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2291 2292 * NEWS: Fix typo. 2293 Spotted by Jim Meyering. 2294 22952008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2296 2297 Parallel automake --add-missing: serialized file installs. 2298 * automake.in (QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING): 2299 New serialization keys. 2300 ($required_conf_file_queue): New file global. 2301 (queue_required_conf_file, require_queued_conf_file): New 2302 functions, to queue and dequeue requirements for aux dir files. 2303 (require_conf_file): Enqueue if needed. 2304 (get_number_of_threads): Can do threads with --add-missing now. 2305 (handle_makefiles_threaded): Let worker threads enqueue, let 2306 master attend to queued requirements at the right time. 2307 * tests/parallel-am.test: Explain the purpose of the include 2308 chain used here. 2309 * tests/parallel-am2.test: Also cope with --add-missing. 2310 * tests/parallel-am3.test: New test, test absence of races with 2311 concurrent same-file installs stemming from --add-missing. 2312 * tests/Makefile.am: Adjust. 2313 2314 Implement serialization for Locations. 2315 * lib/Automake/Location.pm (serialize, deserialize): New 2316 functions. They allows to serialize a Location in an array, and 2317 to restore a Location from a thread queue. The API is 2318 unsymmetric (array vs. queue) because enqueuing data needs to 2319 happen atomically. 2320 2321 Parallel automake: ordered output messages. 2322 * lib/Automake/Channels.pm (%_default_options): New options 2323 `ordered' default enabled, `queue', default zero (no queue), 2324 `queue_key' default undefined. 2325 (_merge_options): Ensure `ordered' channels cannot have fatal 2326 messages or backtrace output. 2327 (_enqueue, _dequeue): New functions, to push messages onto a 2328 Thread::Queue, and output messages from such a queue, suitably 2329 weeded for duplicates in the same manner as _print_message. 2330 (_print_message): If the channel is ordered and has an 2331 associated queue, then enqueue messages instead of printing 2332 them. 2333 (setup_channel_queue, pop_channel_queue): New functions, 2334 to set a Thread::Queue for channels, and to flush a queue. 2335 * lib/Automake/ChannelDefs.pm: Unset channel option `ordered' 2336 for fatal, automake, and verb channels. 2337 * automake.in (QUEUE_MESSAGE): New global constant, used as 2338 serialization key. 2339 (handle_makefiles_threaded): Create message queues for each 2340 input file; workers queue messages, and the master outputs them 2341 ordered, using the new Channels.pm functions. 2342 * tests/parallel-am.test: Also check for ordered output (in the 2343 absence of --add-missing races). 2344 * tests/parallel-am2.test: New test; check for ordered output of 2345 warning and (regular) error messages. 2346 * tests/Makefile.am: Adjust. 2347 2348 Parallel automake execution: AUTOMAKE_JOBS. 2349 * lib/Automake/Config.in (perl_threads): New global. 2350 * automake.in: Use it. If the perl supports interpreter-based 2351 threading, then use `threads' and `Thread::Queue'. 2352 (handle_makefile, handle_makefiles_serial): New functions, 2353 factored out from main. 2354 (get_number_of_threads): New function, compute number of threads 2355 to use, based on environment variable `AUTOMAKE_JOBS' and number 2356 of independent makefiles. 2357 (handle_makefiles_threaded): New function. Spawn threads, use 2358 thread queue to distribute handling the different makefiles. 2359 Collect $exit_code values from threads. 2360 (main): Use new functions. 2361 * aclocal.in: No threads here. 2362 * configure.ac: Substitute PERL_THREADS; enabled with perl >= 2363 5.7.2 and when ithreads are available. 2364 * bootstrap (dosubst): Likewise. 2365 * Makefile.am (do_subst): Likewise. 2366 * lib/Automake/Makefile.am (do_subst): Likewise. 2367 * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and 2368 `threads'. 2369 (verb): Prepend thread ID (tid) to verbose messages. 2370 * lib/Automake/Channels.pm (msg): Before exiting, flush stderr, 2371 needed for worker threads. 2372 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also 2373 include the build tree path, so Config.pm is found. 2374 * tests/parallel-am.test: New test. 2375 * tests/Makefile.am: Update. 2376 * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS. 2377 * NEWS, THANKS: Update. 2378 Report about long execution times by Joakim Tjernlund and others. 2379 23802008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2381 2382 Minor file checking optimization: set_dir_cache_file. 2383 * lib/Automake/FileUtils.pm (set_dir_cache_file): New function. 2384 * automake.in (require_file_internal): Instead of resetting the 2385 cache when a file has been installed, simply correct the cache 2386 using set_dir_cache_file. 2387 2388 No uniquifying for fatal, prog_error, and verbose messages. 2389 There is no point in dropping critical messages, even if they 2390 are duplicates (unlikely to happen unless they have been sent 2391 as non-critical messages before), and verbose messages should 2392 enable to show progress, even using duplicate statements. 2393 * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set 2394 `uniq_part' to `UP_NONE' when registering these channels. 2395 2396 Fix 'config.status --file=... depfiles' with new Autoconf. 2397 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval 2398 $CONFIG_STATUS contents if we detect the quoting used by 2399 Autoconf 2.62 and newer for --file=. 2400 * tests/depend5.test: New test. 2401 * tests/Makefile.am: Update. 2402 * NEWS, THANKS: Update. 2403 Report by Sam Steingold against gnulib. 2404 24052008-10-26 Johan Dahlin <jdahlin@async.com.br> 2406 2407 Support for Python 3.0, drop support for pre-2.0. 2408 * lib/py-compile: Do not import string; use sys.stdout.write 2409 instead of print, files.split instead of string.split. 2410 * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and 2411 phython3.0; do not look for python1.5. Use sys.stdout.write. 2412 (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange 2413 removal in Python 3.0, and changed semantics of map. 2414 * doc/automake.texi (Python, Hard-Coded Install Paths): Update 2415 Python versions mentioned in the manual, using 2.5 everywhere. 2416 * NEWS, THANKS: Update. 2417 24182008-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2419 2420 * lib/Automake/Channels.pm (@chain): Drop unused variable. 2421 2422 Cleanup of per-input global variables in automake.in. 2423 * automake.in ($output_vars, $output_all, $output_header) 2424 ($output_rules, $output_trailer): Fix comment, and sort 2425 declarations in the order they will appear in the output. 2426 ($all_target): Unused variable, remove. 2427 (Variables not reset by &initialize_per_input.): New section, 2428 clarify that %am_file_cache is not reset. 2429 (initialize_per_input): Reset $am_file_name, $am_relative_dir, 2430 $in_file_name, $relative_dir, and $topsrcdir to `undef' rather 2431 than the empty string; $topsrcdir was not reset at all. Sort 2432 remaining variables in the same order as in the section 2433 `Variables reset by &initialize_per_input'. 2434 2435 Let stderr output end up on fd 2 in testsuite. 2436 * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file 2437 descriptor 2. 2438 * tests/getopt.test: Fix erroneous multiple redirection, 2439 uncovered by above change. 2440 24412008-10-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2442 2443 Fix DisjConditions module to be thread-safe for perl >= 5.7.2. 2444 Self-hashes of blessed references are not correctly transported 2445 through thread creation. This patch fixes that by recreating 2446 the hashes upon thread creation with a CLONE special subroutine, 2447 which is automatically invoked by new enough Perl versions. 2448 * lib/Automake/DisjConditions.pm (CLONE): New special 2449 subroutine to fix self hashes upon thread creation. 2450 * lib/Automake/tests/Condition-t.pl: New, sister test to 2451 Condition.pl, but spawns a new threads after each creation of a 2452 new condition; skip test if perl is too old or ithreads are not 2453 available. 2454 * lib/Automake/tests/DisjConditions-t.pl: Likewise. 2455 * lib/Automake/tests/Makefile.am (TESTS): Add them. 2456 24572008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2458 2459 Fix comment typos. 2460 * automake.in (require_file_internal): Fix typos in comments. 2461 * m4/amversion.in: Likewise. 2462 * lib/Automake/Variable.pm: Likewise. 2463 * lib/Automake/XFile.pm: Likewise. 2464 2465 Diagnose unsupported uses of `backname' helper function. 2466 * automake.in (backname): Error out if the path points outside 2467 the directory it started in. 2468 24692008-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2470 2471 Nicer 'make dist' output. 2472 * lib/am/distdir.am (distdir): Hide the complex script 2473 used for computing the relative subdirs; echo the sub-make 2474 command. 2475 24762008-10-12 William Pursell <bill.pursell@gmail.com> (tiny patch) 2477 2478 * tests/defs.in: Fix comment typo. 2479 24802008-10-12 William Pursell <bill.pursell@gmail.com> 2481 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2482 2483 Fix grammar w.r.t. plurals in test reports. 2484 * lib/am/check.am: Fix singular/plural forms in test reports. 2485 * tests/check10.test: New test. 2486 * tests/Makefile.am: Update. 2487 24882008-10-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2489 2490 Require texi2dvi in tests, makeinfo may not be enough. 2491 * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in 2492 separate packages, so also list the latter as required, as the 2493 test generates DVI and/or PDF output (through distcheck). 2494 * tests/txinfo18.test: Likewise. 2495 * tests/txinfo21.test: Likewise. 2496 * tests/txinfo22.test: Likewise. 2497 * tests/txinfo3.test: Likewise. 2498 * tests/version7.test: Likewise. 2499 * THANKS: Update. 2500 Report by Alexander Martens. 2501 2502 Fix bootstrap to remove read-only directories right. 2503 * bootstrap: Remove automake-$APIVERSION correctly. 2504 25052008-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2506 2507 Improve test coverage of current TESTS semantics. 2508 * tests/check8.test: New test, for subdir tests and setting of 2509 $srcdir. 2510 * tests/check9.test: New test, check @substituted@ TESTS. 2511 * tests/Makefile.am: Update. 2512 25132008-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2514 2515 * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue 2516 with AIX sh; fixes depcomp6.test failure. 2517 * NEWS, THANKS: Update. 2518 Report by Rainer Tammer. 2519 2520 Print captured output before failing. 2521 * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test, 2522 tests/aclocal.test, tests/acsilent.test, tests/alpha.test, 2523 tests/check4.test, tests/color.test, tests/fn99.test, 2524 tests/fn99subdir.test, tests/help.test, tests/init.test, 2525 tests/lisp8.test, tests/missing3.test, tests/pr220.test, 2526 tests/python11.test, tests/python4.test, tests/python5.test, 2527 tests/unused.test, tests/version8.test: When Exit is called 2528 after a command that has stdout or stderr redirected to a file 2529 for later inspection, output the file before failing the test. 2530 2531 Fix some comment typos. 2532 * automake.in: Fix some comment typos. 2533 * lib/Automake/Condition.pm: Likewise. 2534 * lib/Automake/DisjConditions.pm: Likewise. 2535 * lib/Automake/Variable.pm: Likewise. 2536 * lib/Automake/tests/DisjConditions.pl: Likewise. 2537 25382008-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2539 2540 * tests/aclibobj.test: Fix race condition. 2541 25422008-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2543 2544 Fix man page creation without installed files. 2545 * doc/Makefile.am (update_mans): Use wrappers in tests/ 2546 directory. 2547 ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as 2548 input program to help2man. 2549 ($(srcdir)/automake-$(APIVERSION).1): Likewise. 2550 Report by Eric Blake. 2551 25522008-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2553 2554 Remove unneeded per-rule *INSTALL variables. 2555 * NEWS: Update. 2556 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove. 2557 (install-%DIR%%PRIMARY%): Adjust. 2558 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove. 2559 (install-%DIR%LIBRARIES): Adjust. 2560 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove. 2561 (install-%DIR%LTLIBRARIES): Adjust. 2562 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove. 2563 (install-%DIR%PROGRAMS): Adjust. 2564 * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove. 2565 (install-%DIR%PYTHON): Adjust. 2566 * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove. 2567 (install-%DIR%SCRIPTS): Adjust. 2568 2569 Compactify program rules using ternary operators. 2570 * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify 2571 using ternary operators `%KEY?TRUE:FALSE%'. 2572 (uninstall-%DIR%PROGRAMS): Likewise. 2573 2574 New doc section about command line length limits. 2575 * doc/automake.texi (Length limitations): New node. 2576 (Alternative): `nobase_' is not always equivalent to several 2577 base variables. 2578 (Install): Mention multi-file install. 2579 * NEWS: Expand on the issue, list some more user-visible 2580 consequences. 2581 2582 Install nobase_lib_LTLIBRARIES before bin_PROGRAMS. 2583 * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are 2584 used, add an ugly hack to install them before bin_PROGRAMS, just 2585 like done with lib_LTLIBRARIES. 2586 * tests/ltorder.test: Add program, to expose this. 2587 2588 Do not reorder nobase ltlib installation. 2589 This patch changes back the order of installation of nobase 2590 LTLIBRARIES to that in which files are listed in the variables. 2591 It does not fix the issue of strict dependency ordering, as 2592 implied by *_LIBADD, but as before allows to steer the order by 2593 listing the libraries in nobase_*_LTLIBRARIES appropriately. 2594 As an advantage over the state of 1.10, multiple consecutive 2595 nobase libraries to be installed in the same directory are 2596 passed to libtool in one invocation. 2597 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not 2598 reorder libraries upon installation. Remove spurious empty 2599 line. 2600 * tests/ltorder.test: New test. 2601 * tests/Makefile.am: Update. 2602 2603 Fix -rpath arguments for nobase_*_LTLIBRARIES. 2604 * automake.in (handle_ltlibraries): New hash %instsubdirs to 2605 track the dirname of nobase ltlibraries, and tack it onto the 2606 end of the -rpath argument. Also, fix the warning about ltlibs 2607 installed in multiple locations to fit a bit better. 2608 * tests/pr300-ltlib.test: Expose this bug here. 2609 * tests/ltinstloc.test: New test. 2610 * tests/Makefile.am: Update. 2611 * NEWS: Update. 2612 2613 Man pages for automake and aclocal. 2614 * configure.ac (HELP2MAN): New substitution. 2615 * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES) 2616 (update_mans): New macros. 2617 ($(srcdir)/aclocal-$(APIVERSION).1) 2618 ($(srcdir)/automake-$(APIVERSION).1): New rules, generate 2619 man pages from the command line help with help2man. 2620 ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for 2621 `.so' man page links to the versioned pages. 2622 * NEWS: Update. 2623 26242008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2625 2626 Faster install for libtool outputs. 2627 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool 2628 --mode=install' with multiple libraries at once. 2629 (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more. 2630 * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much 2631 of the libtool special-casing by invoking it for multiple 2632 programs at once. 2633 26342008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2635 2636 Fast install and uninstall for SCRIPTS. 2637 * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am 2638 independent of `%?BASE%'. 2639 (install-%DIR%SCRIPTS): Install multiple scripts at once, 2640 using awk and a number of sed scripts. 2641 (uninstall-%DIR%SCRIPTS): Compute the installed names, and 2642 remove them, all at once. 2643 (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any 2644 more. 2645 2646 Multi-file install for PROGRAMS. 2647 * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install 2648 several programs with one install invocation, when not using 2649 libtool; employs some trickery to cater for nobase_, $(EXEEXT), 2650 create needed directories, libtool, while only forking a 2651 constant number of times in the fast path; uses awk and sed also 2652 in the default path. 2653 (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any 2654 more. 2655 2656 Enhance cleaning of programs in libtool mode. 2657 * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less 2658 often, avoid removing programs twice if $(EXEEXT) is empty. 2659 * tests/nobase-libtool.test: Also test PROGRAMS, in order to 2660 exercise the code path. 2661 * THANKS: Update. 2662 Report by Toralf Förster. 2663 26642008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2665 Jim Meyering <jim@meyering.net> 2666 2667 Reliable multi-file install for man pages. 2668 * lib/am/mans.am: Include inst-vars.am. 2669 (install-man%SECTION%): Gather lists of man pages to install, 2670 and install up to 40 of those that do not have to be renamed 2671 at once. Fail if installation of any file fails. 2672 (uninstall-man%SECTION%): Rewrite to use fewer sed invocations. 2673 * doc/automake.texi (Man pages): Hint the user to the fast path. 2674 Indentation fix. 2675 * tests/instmany-mans.test: New test. 2676 * tests/Makefile.am: Update. 2677 26782008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2679 2680 Faster `make uninstall'; fast install for JAVA. 2681 * lib/am/inst-vars.am (am__nobase_strip_setup) 2682 (am__nobase_strip): New macros. 2683 (am__nobase_list): Factorize. 2684 * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a 2685 constant number of forks per uninstall. 2686 * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise. 2687 * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise. 2688 * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall. 2689 * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall. 2690 Echo all `rm' commands that are are executed. 2691 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): 2692 Fast install and uninstall. 2693 2694 AIX ranlib dislikes spaces in the argument. 2695 * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test 2696 failure on AIX due to ranlib and whitespace in the directory. 2697 * THANKS: Update. 2698 Report by John F Trudeau. 2699 2700 Fail upon install or ranlib failure, part two. 2701 * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure. 2702 * lib/am/lisp.am (install-%DIR%LISP): Likewise. 2703 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise. 2704 * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for 2705 `install' as well as `ranlib'. 2706 * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails, 2707 return its exit failure, not 1. 2708 * tests/instfail.test: New test, for PROGRAMS (without libtool), 2709 LIBRARIES, including nobase variants. 2710 * tests/instfail-info.test: Likewise, for TEXINFOS. 2711 * tests/instfail-java.test: Likewise, for JAVA. 2712 * tests/instfail-libtool.test: Likewise, for PROGRAMS (with 2713 libtool) and LTLIBRARIES. 2714 * tests/Makefile.am: Adjust. 2715 2716 Exit upon `install' failure, part one. 2717 * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install 2718 command fails. 2719 * lib/am/python.am (install-%DIR%PYTHON): Likewise. 2720 * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise. 2721 * lib/am/texinfos.am (install-dvi-am, install-html-am) 2722 (install-info-am:, install-pdf-am): Likewise. 2723 * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS. 2724 * tests/instmany-python.test: New test, for PYTHON. 2725 * tests/Makefile.am: Adjust. 2726 27272008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2728 2729 Fix multi-file installation for files in srcdir. 2730 For files that can live in the build tree or the source tree, 2731 we have to expect that prepending `$(srcdir)/' to each name 2732 will let the install command line exceed length limitations. 2733 Thus use a new macro, $(am__base_list), to install in chunks 2734 of 40 files, similar to what we do for nobase_* files. There, 2735 lower the limit to 40, too. 2736 * lib/am/inst-vars.am (am__install_max): Lower to 40. 2737 (am__base_list): New macro. 2738 * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it. 2739 * lib/am/texinfos.am (install-dvi-am, install-html-am) 2740 (install-info-am, install-pdf-am, install-ps-am): Likewise. 2741 27422008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2743 2744 Use `Exit' instead of `exit' in test suite. 2745 Cater to Bourne shells like Solaris sh that do not pass the 2746 `exit' argument as status to the cleanup trap. 2747 * Makefile.am (maintainer-check): Check that here-documents 2748 use only `END' or `EOF' as delimiter in the test suite. 2749 Check that, outside of here-documents, the tests do not use 2750 `exit' with an argument, but use `Exit' instead. 2751 * tests/defs.in (Exit): New function. Use it throughout, 2752 starting with the introduction of the exit trap. 2753 * tests/aclibobj.test, tests/acloca10.test, tests/acloca11.test, 2754 tests/acloca12.test, tests/acloca13.test, tests/acloca14.test, 2755 tests/acloca15.test, tests/acloca16.test, tests/acloca17.test, 2756 tests/acloca18.test, tests/acloca19.test, tests/acloca20.test, 2757 tests/acloca21.test, tests/acloca22.test, tests/aclocal.test, 2758 tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test, 2759 tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test, 2760 tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test, 2761 tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test, 2762 tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test, 2763 tests/acsubst2.test, tests/all.test, tests/alloca.test, 2764 tests/alloca2.test, tests/alpha.test, tests/alpha2.test, 2765 tests/amassign.test, tests/ammissing.test, tests/amopt.test, 2766 tests/amsubst.test, tests/ansi.test, tests/ansi10.test, 2767 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test, 2768 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test, 2769 tests/ansi7.test, tests/ansi8.test, tests/ansi9.test (main), 2770 tests/ar.test, tests/ar2.test, tests/asm.test, tests/asm2.test, 2771 tests/asm3.test, tests/automake.test, tests/auxdir.test, 2772 tests/auxdir2.test, tests/auxdir3.test, tests/auxdir4.test, 2773 tests/backsl.test, tests/backsl2.test, tests/backsl3.test, 2774 tests/backsl4.test, tests/badline.test, tests/badopt.test, 2775 tests/badprog.test, tests/block.test, tests/bsource.test, 2776 tests/canon-name.test, tests/canon.test, tests/canon2.test, 2777 tests/canon3.test, tests/canon4.test, tests/canon5.test, 2778 tests/ccnoco.test, tests/ccnoco2.test, tests/check.test, 2779 tests/check2.test, tests/check3.test, tests/check4.test, 2780 tests/check5.test, tests/check6.test, tests/check7.test, 2781 tests/checkall.test, tests/clean.test, tests/clean2.test, 2782 tests/colneq.test, tests/colneq2.test, tests/colon.test, 2783 tests/colon2.test, tests/colon3.test, tests/colon4.test, 2784 tests/colon5.test, tests/colon6.test, tests/colon7.test, 2785 tests/color.test (test_no_color), tests/commen10.test, 2786 tests/comment.test, tests/comment2.test, tests/comment3.test, 2787 tests/comment4.test, tests/comment5.test, tests/comment6.test, 2788 tests/comment7.test, tests/comment8.test, tests/comment9.test, 2789 tests/compile.test, tests/compile_f90_c_cxx.test, 2790 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test, 2791 tests/cond11.test, tests/cond13.test, tests/cond14.test, 2792 tests/cond15.test, tests/cond16.test, tests/cond17.test, 2793 tests/cond18.test, tests/cond19.test, tests/cond2.test, 2794 tests/cond20.test, tests/cond21.test, tests/cond22.test, 2795 tests/cond27.test, tests/cond3.test, tests/cond37.test, 2796 tests/cond39.test, tests/cond4.test, tests/cond40.test, 2797 tests/cond41.test, tests/cond5.test, tests/cond6.test, 2798 tests/cond7.test (AC_INIT), tests/cond8.test, tests/cond9.test, 2799 tests/condd.test, tests/condhook.test, tests/condinc.test, 2800 tests/condinc2.test, tests/condlib.test, tests/condman.test, 2801 tests/condman2.test, tests/conf2.test, tests/confdeps.test, 2802 tests/conff.test, tests/conff2.test, tests/confh.test, 2803 tests/confh4.test, tests/confh5.test, tests/config.test, 2804 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test, 2805 tests/conflnk3.test, tests/conflnk4.test, tests/confsub.test, 2806 tests/confvar.test, tests/confvar2.test, tests/copy.test, 2807 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test, 2808 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test, 2809 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test, 2810 tests/cygwin32.test, tests/dash.test, tests/defs.in (else), 2811 tests/defun.test, tests/defun2.test, tests/dejagnu.test, 2812 tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test, 2813 tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test, 2814 tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test, 2815 tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test, 2816 tests/depcomp6.test, tests/depcomp7.test, tests/depdist.test, 2817 tests/depend.test, tests/depend2.test, tests/depend3.test, 2818 tests/depend4.test, tests/destdir.test, tests/dirforbid.test, 2819 tests/dirlist.test, tests/dirlist2.test, tests/discover.test, 2820 tests/distcom2.test, tests/distcom3.test, tests/distcom4.test, 2821 tests/distcom5.test, tests/distcom6.test, tests/distcom7.test, 2822 tests/distdir.test, tests/distname.test, tests/dollar.test, 2823 tests/double.test, tests/dup2.test, tests/else.test, 2824 tests/empty.test, tests/empty2.test, tests/empty3.test, 2825 tests/empty4.test, tests/exdir.test, tests/exdir2.test, 2826 tests/exdir3.test, tests/exeext.test, tests/exeext2.test, 2827 tests/exeext3.test, tests/exeext4.test, tests/exsource.test, 2828 tests/ext.test, tests/extra.test, tests/extra2.test, 2829 tests/extra3.test, tests/extra4.test, tests/extra5.test, 2830 tests/extra6.test, tests/extra7.test, tests/f90only.test, 2831 tests/flibs.test, tests/fn99.test, tests/fn99subdir.test, 2832 tests/fnoc.test, tests/fo.test, tests/fonly.test, 2833 tests/fort1.test, tests/fort2.test, tests/fort4.test, 2834 tests/fort5.test, tests/fortdep.test, tests/fpinst2.test, 2835 tests/fpinstall.test, tests/gcj.test, tests/gcj2.test, 2836 tests/gcj3.test, tests/gcj4.test, tests/gcj5.test, 2837 tests/getopt.test, tests/gettext.test, tests/gettext2.test, 2838 tests/gettext3.test, tests/gnits.test, tests/gnits2.test (main), 2839 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test, 2840 tests/gnuwarn2.test, tests/header.test, tests/help.test, 2841 tests/hosts.test, tests/implicit.test, tests/include.test, 2842 tests/include2.test, tests/info.test, tests/init.test, 2843 tests/insh2.test, tests/install2.test, tests/installdir.test, 2844 tests/instdat.test, tests/instdat2.test, tests/instexec.test, 2845 tests/insthook.test, tests/instman.test, tests/instman2.test, 2846 tests/instsh.test, tests/instsh2.test, tests/instsh3.test, 2847 tests/instspc.test, tests/interp.test, tests/interp2.test, 2848 tests/java.test, tests/java2.test, tests/java3.test, 2849 tests/javaprim.test, tests/javasubst.test, tests/ldadd.test, 2850 tests/ldflags.test, tests/lex.test, tests/lex2.test, 2851 tests/lex3.test, tests/lex4.test, tests/lex5.test (main), 2852 tests/libexec.test, tests/libobj10.test, tests/libobj11.test, 2853 tests/libobj12.test, tests/libobj13.test, tests/libobj2.test, 2854 tests/libobj3.test, tests/libobj4.test, tests/libobj5.test, 2855 tests/libobj7.test, tests/libobj8.test, tests/library.test, 2856 tests/library2.test, tests/library3.test, tests/libtoo10.test, 2857 tests/libtool.test, tests/libtool2.test, tests/libtool3.test 2858 (main), tests/libtool4.test, tests/libtool5.test, 2859 tests/libtool6.test, tests/libtool7.test, tests/libtool8.test, 2860 tests/libtool9.test (main), tests/license.test, 2861 tests/link_c_cxx.test, tests/link_dist.test, 2862 tests/link_f90_only.test, tests/link_f_only.test, 2863 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test, 2864 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test, 2865 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test, 2866 tests/lisp8.test, tests/listval.test, tests/location.test, 2867 tests/longlin2.test, tests/longline.test, tests/ltcond.test, 2868 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test, 2869 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/lzma.test, 2870 tests/maintclean.test, tests/make.test, tests/makej.test, 2871 tests/makevars.test, tests/man.test, tests/man2.test, 2872 tests/man3.test, tests/mclean.test, tests/mdate.test, 2873 tests/mdate2.test, tests/mdate3.test, tests/mdate4.test, 2874 tests/mdate5.test, tests/missing.test, tests/missing2.test, 2875 tests/missing3.test, tests/missing4.test, tests/missing5.test, 2876 tests/missing6.test, tests/mkinst2.test, tests/mkinst3.test, 2877 tests/mkinstall.test, tests/mmode.test, tests/mmodely.test, 2878 tests/multlib.test, tests/nobase-libtool.test, 2879 tests/nobase-python.test, tests/nobase.test, tests/nodef.test, 2880 tests/nodef2.test, tests/nodep.test, tests/nodep2.test, 2881 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test, 2882 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test, 2883 tests/noinst.test, tests/noinstdir.test, tests/nolink.test, 2884 tests/nostdinc.test, tests/notrans.test, tests/number.test, 2885 tests/objc.test, tests/objc2.test, tests/obsolete.test, 2886 tests/order.test, tests/outdir.test, tests/output-order.test, 2887 tests/output.test, tests/output10.test, tests/output11.test, 2888 tests/output12.test, tests/output13.test, tests/output2.test, 2889 tests/output3.test, tests/output4.test, tests/output5.test, 2890 tests/output6.test, tests/output7.test, tests/output8.test, 2891 tests/output9.test, tests/overrid.test, tests/parse.test, 2892 tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test, 2893 tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test, 2894 tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test, 2895 tests/pluseq9.test, tests/postproc.test, tests/ppf77.test, 2896 tests/pr2.test, tests/pr204.test, tests/pr211.test, 2897 tests/pr220.test, tests/pr224.test, tests/pr229.test, 2898 tests/pr243.test, tests/pr266.test, tests/pr279-2.test, 2899 tests/pr279.test, tests/pr287.test, tests/pr300-lib.test, 2900 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test, 2901 tests/pr401.test, tests/pr401b.test, tests/pr401c.test, 2902 tests/pr72.test, tests/pr87.test, tests/pr9.test, 2903 tests/prefix.test, tests/primary.test, tests/primary2.test, 2904 tests/primary3.test, tests/proginst.test, tests/python.test, 2905 tests/python10.test, tests/python11.test, tests/python12.test, 2906 tests/python2.test, tests/python3.test, tests/python4.test, 2907 tests/python5.test, tests/python6.test, tests/python7.test, 2908 tests/python8.test, tests/python9.test, tests/recurs.test, 2909 tests/recurs2.test, tests/regex.test, tests/remake.test, 2910 tests/remake2.test, tests/remake3.test, tests/remake4.test, 2911 tests/remake5.test, tests/remake6.test, tests/remake7.test, 2912 tests/req.test, tests/reqd.test, tests/reqd2.test, 2913 tests/rulepat.test, tests/scripts.test, tests/seenc.test, 2914 tests/sinclude.test, tests/space.test, tests/specflg.test, 2915 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test, 2916 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, 2917 tests/spell.test, tests/spell2.test, tests/spell3.test, 2918 tests/spelling.test, tests/spy.test, tests/srcsub.test, 2919 tests/srcsub2.test, tests/stamph2.test, tests/stdinc.test, 2920 tests/stdlib.test, tests/stdlib2.test, tests/strip.test, 2921 tests/subcond.test, tests/subcond2.test, tests/subcond3.test, 2922 tests/subdir.test, tests/subdir2.test, tests/subdir3.test, 2923 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test, 2924 tests/subdir7.test, tests/subdir8.test, tests/subdir9.test, 2925 tests/subdirbuiltsources.test, tests/subobj.test, 2926 tests/subobj10.test, tests/subobj2.test, tests/subobj3.test, 2927 tests/subobj4.test, tests/subobj5.test, tests/subobj6.test, 2928 tests/subobj7.test, tests/subobj8.test, tests/subobj9.test, 2929 tests/subobjname.test, tests/subpkg.test, tests/subpkg2.test, 2930 tests/subpkg3.test, tests/subst.test, tests/subst2.test, 2931 tests/subst3.test, tests/substre2.test, tests/substref.test, 2932 tests/substtarg.test, tests/suffix.test, tests/suffix10.test, 2933 tests/suffix11.test, tests/suffix12.test, tests/suffix2.test, 2934 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test, 2935 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test, 2936 tests/suffix9.test, tests/symlink.test, tests/symlink2.test, 2937 tests/symlink3.test, tests/syntax.test, tests/tags.test, 2938 tests/tagsub.test, tests/tar.test, tests/tar2.test, 2939 tests/tar3.test, tests/target-cflags.test, 2940 tests/targetclash.test, tests/transform.test, tests/txinfo.test, 2941 tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test, 2942 tests/txinfo17.test, tests/txinfo18.test, tests/txinfo19.test, 2943 tests/txinfo2.test, tests/txinfo20.test, tests/txinfo21.test, 2944 tests/txinfo22.test, tests/txinfo23.test, tests/txinfo24.test, 2945 tests/txinfo25.test, tests/txinfo26.test, tests/txinfo27.test, 2946 tests/txinfo28.test, tests/txinfo29.test, tests/txinfo3.test, 2947 tests/txinfo30.test, tests/txinfo31.test, tests/txinfo4.test, 2948 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test, 2949 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test, 2950 tests/upc.test, tests/upc2.test, tests/upc3.test, 2951 tests/vars.test, tests/vars3.test, tests/vartar.test, 2952 tests/version.test, tests/version2.test, tests/version3.test, 2953 tests/version4.test, tests/version6.test, tests/version7.test, 2954 tests/version8.test, tests/vpath.test, tests/vtexi.test, 2955 tests/vtexi2.test, tests/warnopts.test, tests/werror.test, 2956 tests/werror2.test, tests/whoami.test, tests/xsource.test, 2957 tests/yacc.test, tests/yacc2.test, tests/yacc3.test, 2958 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test, 2959 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test, 2960 tests/yaccvpath.test: Use `Exit $arg' instead of `exit $arg' 2961 throughout, except inside created files. 2962 29632008-09-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2964 2965 Avoid Heisenbug with verbose testing on HP-UX. 2966 * tests/output-order.test: Remove spurious redirection line 2967 from output for comparison. 2968 2969 For all possibly-relative subdirs, use $(am__cd). 2970 Up to now, $(am__cd) was only used within backquotes, to avoid 2971 extraneous output. This patch also uses it for every `cd' to a 2972 relative subdir, to prevent CDPATH from entering an unwanted 2973 directory. 2974 * Makefile.am (maintainer-check): Fix current check for 2975 $(am__cd) within backquotes a bit. Add new check for `cd' to a 2976 relative subdir. 2977 * automake.in (handle_tags, handle_configure): Adjust rules. 2978 * lib/am/ansi2knr.am: Likewise. 2979 * lib/am/configure.am: Likewise. 2980 * lib/am/distdir.am: Likewise. 2981 * lib/am/remake-hdr.am: Likewise. 2982 * lib/am/subdirs.am: Likewise. 2983 * lib/am/tags.am: Likewise. 2984 * lib/am/texibuild.am: Likewise. 2985 2986 Fix nobase-python.test for BSD make. 2987 * tests/nobase-python.test: Listing a dependency to be found 2988 via VPATH search explicitly, without the path, as a target, 2989 will turn off VPATH search for FreeBSD make. So move the 2990 creation of the files outside of the Makefile. 2991 29922008-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2993 2994 Implement AM_MAINTAINER_MODE([DEFAULT-MODE]). 2995 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional 2996 first argument of `enable' or `disable', setting the default. 2997 * doc/automake.texi (Optional, maintainer-mode): Document. 2998 * tests/mmode.test: New test. 2999 * tests/Makefile.am: Adjust. 3000 * NEWS: Update. 3001 Suggestion by Vincent Lefevre. 3002 30032008-08-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3004 3005 Copyright year updates. 3006 * lib/am/header-vars.am: Update copyright years. 3007 * lib/am/remake-hdr.am: Likewise. 3008 * lib/am/tags.am: Likewise. 3009 30102008-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3011 3012 * THANKS: Use Cyrillic name instead of ASCII transcription. 3013 30142008-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3015 3016 Fix rebuilding of removed subdir/Makefile.in files. 3017 * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If 3018 subdir/Makefile.in was removed, am--refresh would not update 3019 it. Fix up for it by running the per-directory rebuild rule. 3020 * tests/remake6.test, tests/remake7.test: New tests. 3021 * tests/Makefile.am: Adjust. 3022 * NEWS, THANKS: Update. 3023 Report and initial patch by Ilya N. Golubev. 3024 30252008-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3026 3027 * tests/notrans.test: Use multiple man files of each type. 3028 3029 Fix maintainer-check failures. 3030 * doc/automake.texi (Conditionals): Drop TAB. 3031 * tests/missing6.test: Use 'rm -f'. 3032 30332008-08-19 Reuben Thomas <rrt@sc3d.org> (tiny patch) 3034 3035 * doc/automake.texi (Flag Variables Ordering, Per-Object Flags): 3036 Fix grammaros. 3037 30382008-08-02 Karl Berry <karl@freefriends.org> 3039 3040 * lib/gnupload: Provide also a simple example. 3041 30422008-06-25 Thien-Thi Nguyen <ttn@gnuvola.org> 3043 3044 Small doc fix. 3045 * doc/automake.texi (Public Macros): Close open paren. 3046 30472008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3048 3049 Introduce macro $(am__mv) to facilitate 'libtool --dry-run'. 3050 * lib/am/depend.am (am__mv): New macro, set to 'mv -f'. 3051 * lib/am/depend2.am: Use throughout to move the temporary 3052 depfile *.Tpo to its final destination *.Po. 3053 30542008-06-18 Rafael Espindola <espindola@google.com> 3055 3056 * lib/config-ml.in: don't handle --enable-shared and --enable-static. 3057 30582008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3059 3060 * lib/am/inst-vars.am (am__install_max): New variable. 3061 (am__nobase_list): Use it. 3062 3063 Fix conditional rules competing with config.status rules. 3064 * automake.in (handle_configure): Teach targets about the 3065 conditional config.status rule. 3066 * tests/cond39.test: Adjust test to expose this. 3067 3068 For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build. 3069 * automake.in (rewrite_inputs_into_dependencies): Do distribute 3070 inputs where input and output name are equal. This relies on 3071 the assumption that it only happens with AC_CONFIG_LINKS. 3072 (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for 3073 links where source and dest are equal. 3074 * lib/am/clean.am (distclean-generic): Remove, if build tree not 3075 equal source tree. 3076 * tests/conflnk4.test: New test. 3077 * tests/Makefile.am: Adjust. 3078 * NEWS: Update. 3079 30802008-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3081 3082 * doc/automake.texi (Extending): Fix ambivalent wording. 3083 Report by Ben Pfaff. 3084 30852008-06-04 Karl Berry <karl@freefriends.org> 3086 3087 * doc/automake.texi (Install, Hard-Coded Install Paths): Fix 3088 punctuation and markup. 3089 (Extending): Improve wording and clarify order semantics of 3090 *-local and *-hook targets. 3091 30922008-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3093 3094 * doc/automake.texi (Extending): Fix grammar. 3095 Report by Karl Berry. 3096 30972008-05-13 Stepan Kasal <skasal@redhat.com> 3098 3099 Fix typos. 3100 * doc/automake.texi (Timeline): Reported by Reuben Thomas. 3101 * lib/am/remake-hdr.am: A few typos in comments. 3102 31032008-04-10 Eric Blake <ebb9@byu.net> 3104 3105 Prefer a released version of autoconf. 3106 * NEWS: Bump requirement to autoconf 2.62. 3107 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise. 3108 * configure.ac: Likewise. 3109 (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead. 3110 3111 AC_AUTOCONF_VERSION can inadvertently expand to a macro name. 3112 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper 3113 m4 quoting. 3114 * aclocal.in (write_aclocal): Likewise. 3115 * tests/missing6.test: New test. 3116 * tests/Makefile.am (TESTS): Run it. 3117 * tests/missing4.test: Adjust. 3118 31192008-04-02 Eric Blake <ebb9@byu.net> 3120 3121 Make gnupload friendlier for VPATH usage. 3122 * lib/gnupload: Allow uploads from separate directory. 3123 31242008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3125 3126 Implement conditional AC_CONFIG_FILES: AM_COND_IF. 3127 * automake.in (%ac_config_files_condition): New. 3128 (scan_autoconf_config_files): Record condition if any. 3129 (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE, 3130 _AM_COND_ENDIF, updating @cond_stack as appropriate. 3131 (handle_configure): Prefix config.status rule with condition. 3132 Check that m4 quotation is done consistently. 3133 * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name' 3134 with `name' being the name of the condition, to its shell 3135 condition. 3136 * m4/cond-if.m4: New file. 3137 (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers. 3138 (AM_COND_IF): New macro, implements conditionals. 3139 * m4/Makefile.am: Adjust. 3140 * doc/automake.texi (Requirements, Optional, Conditionals): 3141 Document AM_COND_IF. 3142 * NEWS: Update. 3143 * tests/cond39.test, tests/cond40.test, tests/cond41.test, 3144 tests/cond42.test, tests/cond43.test: New tests. 3145 * tests/Makefile.am: Adjust. 3146 31472008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3148 3149 * doc/automake.texi (@ovar): New macro, from autoconf.texi. 3150 (Python): Use it. 3151 Suggestion by Eric Blake. 3152 31532008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3154 3155 * lib/texinfo.tex: Sync from upstream. 3156 31572008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3158 3159 * doc/automake.texi (Requirements, Linking, Extending): 3160 Fix underfull and overfull lines, fix wording a bit. 3161 3162 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from 3163 upstream. 3164 3165 * Makefile.am (WGET_SV_GIT_CF): New. 3166 (fetch): Pull config.guess and config.sub from git repo now. 3167 3168 * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument 3169 $hint, show if the executing program does not exist. 3170 (xsystem_hint): New function, like xsystem but allows to pass 3171 a hint. 3172 31732008-03-11 Peter Breitenlohner <peb@mppmu.mpg.de> 3174 3175 Implement the `notrans_' prefix for untransformed manpages. 3176 * automake.in (handle_man_pages), lib/am/mans.am: Implement 3177 notrans_ prefix for MANS primary and rework dependencies for 3178 install-man%SECTION%; use only vars defined in Makefile.am. 3179 * doc/automake.texi (Renaming, Uniform, Man pages): 3180 Document notrans_ prefix. 3181 * NEWS: Update. 3182 * tests/notrans.test: New test. 3183 * tests/Makefile.am: Update. 3184 3185 * automake.in (handle_man_pages): Reindent, for next patch. 3186 31872008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3188 3189 Use `install' with multiple files at once for some primaries. 3190 With nobase targets, at most 50 files are installed at once, 3191 to avoid quadratic string concatenation and line length limits. 3192 This isn't yet done with base targets. One hope is that there, 3193 the typical file name length is lower. If this turns out to be 3194 a problem, it should be revisited. 3195 3196 * lib/am/inst-vars.am (am__nobase_list): New helper macro for 3197 installation of multiple nobase files at once: sorts and lists 3198 files keyed by their target directory. 3199 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to 3200 $(install_sh_DATA) any more, not even for nobase targets. 3201 (install-%DIR%%PRIMARY%): Split base and nobase cases. 3202 Rewrite to pass lists of files which all go in the same 3203 directory to `install'. In the nobase case, make use of 3204 $(am__nobase_list) and $(MKDIR_P) each directory before 3205 populating it. Take care of files in source and build trees, 3206 and avoid creating directories where no files are to be 3207 installed. 3208 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise. 3209 (install-%DIR%LIBRARIES): Likewise. 3210 * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise. 3211 (install-%DIR%PYTHON): Likewise. Also take care to keep note of 3212 a list for byte compilation after installation. 3213 * lib/am/texinfos.am (install-dvi-am, install-html-am) 3214 (install-info-am, install-pdf-am, install-ps-am): Use file lists 3215 to install multiple files at once. 3216 * NEWS: Update. 3217 Suggested by Akim Demaille. 3218 32192008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3220 3221 Require unreleased Autoconf for fixed AC_PROG_INSTALL. 3222 * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341, 3223 regenerate files. 3224 * configure.ac: Also require Autoconf 2.61-341, to catch 3225 failure early and provide a sensible error message. 3226 3227 Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT. 3228 * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT. 3229 * tests/ansi6.test: Likewise. 3230 * tests/ansi7.test: Likewise. 3231 * tests/condlib.test: Likewise. 3232 * tests/cygwin32.test: Likewise. 3233 * tests/exeext2.test: Likewise. 3234 * tests/libobj11.test: Likewise. 3235 * tests/library.test: Likewise. 3236 * tests/txinfo5.test: Likewise. 3237 32382008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3239 3240 Skip instsh3.test if `touch -t' does not work. 3241 * tests/instsh3.test: Test for `touch -t', fails with Solaris 3242 /usr/ucb/touch. 3243 * THANKS: Update. 3244 Report by Younes Younes. 3245 32462008-02-27 Reuben Thomas <rrt@sc3d.org> 3247 3248 * doc/automake.texi (wildcards): Improve "Why doesn't Automake 3249 support wildcards" node's English and sense. 3250 32512008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3252 3253 * lib/am/check.am (check-TESTS): In the case patterns for 3254 XFAILed tests, add literal bracket expression for matching 3255 whitespace, as NetBSD 4.99.54 ksh does not understand a 3256 bracket expression resulting from variable expansion. 3257 * README: Explain how to run the Automake test suite, including 3258 setting MAKE to test gmake. 3259 Report by Patrick Welche. 3260 32612008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3262 3263 PR automake/498 3264 * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of 3265 obsolete AC_FOREACH. 3266 Report by NightStrike and gurganbl@rose-hulman.edu. 3267 32682008-02-17 Colin Watson <cjwatson@debian.org> (tiny change) 3269 3270 * lib/am/tags.am (ID): Fix typo in workaround for old awk. 3271 32722008-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3273 3274 * doc/.gitignore: Ignore files generated by `make ps pdf html'. 3275 32762008-02-05 Reuben Thomas <rrt@sc3d.org> 3277 3278 * doc/automake.texi (CVS): configure.ac will appear newer, not 3279 older, than configure. Use `lexical' instead of `alphabetical'. 3280 32812008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3282 3283 * tests/man3.test: Avoid `make VAR=value'. 3284 3285 * tests/subst3.test: New test. 3286 * tests/Makefile.am: Update. 3287 3288 * tests/instsh2.test: Split off testing of `install-sh -C' ... 3289 * tests/instsh3.test: ... to this new test, requiring non-root. 3290 * tests/Makefile.am: Adjust. 3291 * THANKS: Update. 3292 Report by Theodoros V. Kalamatianos. 3293 32942008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3295 3296 * tests/nobase.test: Extend test to generated files. 3297 3298 * tests/nobase-python.test: New test, nobase for python files. 3299 * tests/Makefile.am: Update. 3300 3301 * tests/nobase.test: Split off libtool part of nobase.test for 3302 increased test exposure, to ... 3303 * tests/nobase-libtool.test: ... this new test. 3304 * tests/Makefile.am: Update. 3305 33062008-01-23 Eric Blake <ebb9@byu.net> 3307 3308 Fix color.test when using BSD grep. 3309 * tests/color.test: Ensure that grep can handle non-printing 3310 characters. 3311 33122008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3313 3314 * tests/lisp3.test: Fix typo. 3315 33162008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3317 3318 * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages 3319 over distributed ones. 3320 Report and patch by Peter Breitenlohner. 3321 * tests/man3.test: New test. 3322 * tests/Makefile.am: Update. 3323 33242008-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3325 3326 * tests/tar.test: Skip if no appropriate tar was found. 3327 33282008-01-19 NightStrike <nightstrike@gmail.com> 3329 3330 * doc/automake.texi (Dependency Tracking): Fix typo. 3331 33322008-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3333 3334 * lib/config-ml.in, lib/config.guess, lib/config.sub, 3335 lib/symlink-tree: Sync from upstream. 3336 3337 * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO. 3338 (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New. 3339 (fetch): Update to match current upstream locations. 3340 33412008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3342 3343 * doc/automake.texi (DESTDIR, Built sources example): Fix wording. 3344 * THANKS: Update. 3345 Reports and suggestions by William Pursell and nightstrike@gmail.com. 3346 33472008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3348 3349 Do not fail if `autoupdate' is not present. 3350 * tests/obsolete.test: Check for presence of autoupdate. Apparently, 3351 FreeBSD may install the other Autoconf programs without a version 3352 suffix but not autoupdate. 3353 3354 Fix Heisenbug trying to unset a sometimes-not-set variable. 3355 * tests/check5.test: Do not error out upon `unset TESTS' due to 3356 `set -e', in case TESTS was not set. 3357 * tests/color.test: Likewise. 3358 3359 * doc/automake.texi (amhello Explained): Fix odd sentence. 3360 Report by nightstrike@gmail.com. 3361 33622008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3363 3364 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more 3365 resistant to different quoting styles of $1. 3366 3367 Clarify texinfo.tex and TEXINFO_TEX semantics. 3368 * doc/automake.texi (Texinfo): Clarify that by default, 3369 texinfo.tex is searched in the same directory as the Makefile.am 3370 that needs it. Clarify that TEXINFO_TEX has precedence over 3371 AC_CONFIG_AUX_DIR, and that it requires the user to install and 3372 distribute it. 3373 * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed. 3374 * THANKS: Update. 3375 Reports by Dilyan Palauzov and Roumen Petrov. 3376 33772008-01-11 Bruno Haible <bruno@clisp.org> 3378 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3379 3380 * tests/output-order.test: New test, for the stable output fix. 3381 * tests/Makefile.am: Update. 3382 33832008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3384 3385 * Makefile.am (dist-hook): New, ensure world-executable tests. 3386 * THANKS: Update. 3387 Report by Arto C. Nirkko. 3388 3389 * tests/acloca20.test: Use `--force' with the second $AUTOCONF, 3390 to force update on fast machines where both autoconf invocations 3391 happen within the same second. 3392 Report by Greg Schafer. 3393 33942008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3395 3396 * automake.in (scan_autoconf_files): Sort loop over 3397 %required_aux_file, for stable verbose output. 3398 Report by Bruno Haible. 3399 3400 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from 3401 upstream. 3402 3403 * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o, 3404 to avoid matching for example `LDFLAGS=-Wl,--sort-common'. 3405 * THANKS: Update. 3406 Report and analysis by Carsten Lohrke and Mike Frysinger. 3407 34082008-01-07 Stepan Kasal <skasal@redhat.com> 3409 3410 * automake.in (handle_texinfo_helper, handle_lib_objects): Fix 3411 typos in comments. 3412 34132008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3414 3415 Bump copyright years. 3416 * aclocal.in (write_aclocal, version): Likewise. 3417 * automake.in ($gen_copyright, version): Likewise. 3418 * doc/automake.texi: Likewise. 3419 34202007-12-18 Jim Meyering <meyering@redhat.com> 3421 3422 * lib/gnupload (GPG): Don't use an absolute path. 3423 This reverts part of the 2004-01-28 change. 3424 34252007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3426 3427 * lib/Automake/FileUtils.pm (open_quote): New function. 3428 (update_file, contents): Use it. 3429 3430 Reword the copyright notices to match what's suggested in GPLv3. 3431 34322007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3433 3434 * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext 3435 tests if the absolute source or build tree name contain whitespace. 3436 3437 Modify some tests for absolute trees containing whitespace. 3438 * tests/missing.test: Use "./missing" instead of "`pwd`/missing". 3439 * tests/missing2.test: Likewise. 3440 * tests/mmodely.test: Add `pwd` to $PATH instead of absolute 3441 references to myyacc.sh and mylex.sh. 3442 * tests/multlib.test: Likewise for mycc. 3443 * tests/txinfo26.test: Skip if `pwd` contains whitespace, as 3444 an absolute --srcdir does not work there. 3445 3446 * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess, 3447 lib/config.sub, lib/texinfo.tex: Sync from upstream. 3448 3449 Fix the distdir target to cope with spaces in absolute file names. 3450 * lib/am/distdir.am: Quote all instances of $(distdir) and 3451 $(top_distdir). They could contain white space, coming from 3452 a toplevel package bootstrapped with an older Automake version. 3453 (am__relativize): New macro, taken from gnulib code, written by 3454 Bruno Haible. 3455 (distdir): Use it to compute relative paths to distdir and 3456 top_distdir for enclosed subpackages. 3457 Also, quote $(distuninstallcheck_dir). 3458 * lib/am/texinfos.am: Likewise, quote $(distdir). 3459 34602007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3461 3462 Quote file names in tests that can be absolute. 3463 * tests/auxdir.test, tests/check3.test, tests/check4.test, 3464 tests/compile.test, tests/cond33.test, tests/condhook.test, 3465 tests/distdir.test, tests/dollar.test, tests/empty.test, 3466 tests/gnits2.test, tests/gnits3.test, tests/include2.test, 3467 tests/insthook.test, tests/java.test, tests/libtool7.test, 3468 tests/lisp4.test, tests/lisp5.test, tests/lisp6.test, 3469 tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test, 3470 tests/multlib.test, tests/nobase.test, tests/nodist2.test, 3471 tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test, 3472 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test, 3473 tests/python3.test, tests/strip.test, tests/transform.test, 3474 tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test, 3475 tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test: 3476 Likewise. 3477 3478 Quote @abs_top_builddir@ and @abs_top_srcdir@. 3479 * tests/aclocal.in: Likewise. 3480 * tests/automake.in: Likewise. 3481 3482 Fix TAGS and GTAGS rules to cope with whitespace in `pwd`. 3483 * lib/am/tags.am (TAGS): Use positional parameters to avoid 3484 the need to quote absolute file names. 3485 (GTAGS): Quote absolute file name. 3486 (CTAGS): Simplify, dropping unused variable `$tags'. 3487 34882007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3489 3490 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance 3491 of am__strip_dir. Fixes nobase and pr300-ltlib test failures. 3492 34932007-11-25 Akim Demaille <akim@lrde.epita.fr> 3494 3495 Several *-local in a rule do not work. 3496 * tests/all.test: Check this case. 3497 Use set -e. 3498 * tests/Makefile.am (XFAIL_TESTS): Add it. 3499 35002007-11-25 Akim Demaille <akim@lrde.epita.fr> 3501 3502 Fix uses of am__strip_dir. 3503 * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of 3504 definition of am__strip_dir. 3505 35062007-11-25 Akim Demaille <akim@lrde.epita.fr> 3507 3508 Define and use register_action. 3509 * lib/Automake/Rule.pm: Fix a few typos in the doc. 3510 (&rule): Use || to simplify the code. 3511 (®ister_action): New. 3512 Export it. 3513 * automake.in (&handle_factored_dependencies, &file_contents_internal): 3514 Use it. 3515 35162007-11-25 Akim Demaille <akim@lrde.epita.fr> 3517 3518 * bootstrap: Fix typos on redirections. 3519 35202007-11-24 Akim Demaille <akim@lrde.epita.fr> 3521 3522 Skip comments and empty lines in dirlist in the tests. 3523 * defs.in (extra_includes): Skip comments and empty lines in dirlist. 3524 35252007-11-24 Akim Demaille <akim@lrde.epita.fr> 3526 3527 Ternary operator in lib/am files. 3528 * automake.in (&transform_token): New. 3529 (&transform): Use it. 3530 Support %KEY?TRUE:FALSE%. 3531 (&make_paragraphs): Adjust the regexp to call %transform. 3532 * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am, 3533 * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am: 3534 Use %KEY?TRUE:FALSE%. 3535 * lib/am/inst-vars.am (am__strip_dir): Assign the result to f 3536 to be more alike am__vpath_adj. 3537 Adjust dependencies. 3538 35392007-11-24 Akim Demaille <demaille@gostai.com> 3540 3541 * automake.in: Normalize white spaces. 3542 35432007-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3544 3545 * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding 3546 rules, if the absolute build directory name contains white space. 3547 35482007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3549 3550 * aclocal.in (trace_used_macros): Quote input files. 3551 3552 * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`. 3553 3554 * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again. 3555 (CTAGS): Drop unneeded variable `here'. 3556 35572007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3558 3559 * tests/output13.test: New test. 3560 * tests/Makefile.am: Adjust. 3561 Prompted by report from Bruno Haible in 3562 <https://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>. 3563 3564 Fix signal handling in aclocal. 3565 * aclocal.in (unlink_tmp): If invoked by a signal, note so 3566 in verbose mode. Reinstall default signal handler and reraise, 3567 to transport the interrupt information. 3568 35692007-11-13 Bob Proulx <bob@proulx.com> 3570 3571 Fix color test failure on dumb (and other) terminals. 3572 * tests/color.test: Set TERM to `ansi'. 3573 35742007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3575 3576 Avoid spurious test failure with `make check TESTS=check5.test'. 3577 * tests/check5.test: unset TESTS. 3578 3579 Fix maintainer-check failure. 3580 * tests/color.test: unset TESTS, use `make -e' rather than 3581 `make MACRO=val'. 3582 35832007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3584 3585 * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a. 3586 3587 * automake.in (handle_tests): Remove debugging leftover. 3588 3589 Run each test in a process-private subdirectory. 3590 * tests/defs.in: Employ a trap to clean up at the end of the 3591 test in case the test succeeded. This needs to be revisited 3592 because we would like to keep the output of XPASSing tests. 3593 Also, note when we were interrupted by a signal. Code taken 3594 from Autoconf's _AC_INIT_PREPARE. 3595 If $keep_testdirs is set, keep them even for successful tests. 3596 * tests/Makefile.am (check-clean-local): New target. Remove all 3597 tests subdirs, but also make them writable first. The latter 3598 was already needed without per-test subdirs. 3599 (distclean-local): Depend upon check-clean-local. 3600 * tests/Makefile.in: Regenerate. 3601 * tests/.cvsignore, tests/.gitignore: Adjust. 3602 3603 Fix default includes ordering to be `-I. -I$(srcdir) ...' again. 3604 * automake.in (handle_compile): Put -I$(srcdir) before include 3605 paths for config headers, as was done before Automake 1.10, but 3606 keep uniquified list without multiple adjacent spaces. 3607 * doc/automake.texi (Program variables): List include paths 3608 in order. 3609 * NEWS: Mention 1.10 regression. 3610 * tests/stdinc.test: New test. 3611 * tests/Makefile.am: Adjust. 3612 * THANKS: Update. 3613 Report by Kent Boortz. 3614 36152007-11-08 Akim Demaille <akim@lrde.epita.fr> 3616 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3617 Bob Proulx <bob@proulx.com> 3618 3619 Implement colorized test output. 3620 * automake.in (handle_tests): Set COLOR depending on `color-tests'. 3621 * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'. 3622 * doc/automake.texi (Tests, Options): Document test results, 3623 document new option, document AM_COLOR_TESTS. 3624 * lib/Automake/Options.pm (_process_option_list): Handle it. 3625 * lib/am/check.am (am__tty_colors): New variable. Enable colored 3626 output if TERM is not dumb and depending on AM_COLOR_TESTS and 3627 whether stdout is connected to a terminal. 3628 (check-TESTS): Use am__tty_colors. 3629 * NEWS: Mention color-tests. 3630 * tests/color.test: New test. 3631 * tests/Makefile.am: Adjust. 3632 36332007-11-08 NightStrike <nightstrike@gmail.com> (tiny change) 3634 3635 For PR automake/526: 3636 * doc/automake.texi (Basic Installation): Fix typo. 3637 36382007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3639 3640 Accommodate for new macro AC_AUTOCONF_VERSION. 3641 * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather 3642 than m4_PACKAGE_VERSION. Define the former if not defined. 3643 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise. 3644 * tests/missing4.test: Use AC_AUTOCONF_VERSION. 3645 36462007-10-29 Bruno Haible <bruno@clisp.org> 3647 3648 * doc/automake.texi (Program variables): Clarify that 3649 Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but 3650 passes it directly to compilation commands. 3651 36522007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3653 3654 Move to git as primary source repository. 3655 * Makefile.am (git-dist, git-release): Renamed and adjusted from ... 3656 (cvs-dist, cvs-release): ... these. 3657 (git-diff): New target, taken and adjusted from cvs-diff. 3658 * Makefile.in: Regenerate. 3659 * bootstrap: Adjust. 3660 * NEWS: Announce change. 3661 * doc/automake.texi (General Operation): cvs-dist is git-dist now. 3662 (Timeline): Mention change. 3663 36642007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3665 3666 * automake.in: Treat extension .sx also like preprocessed 3667 assembler (.S), following GCC. 3668 * NEWS: Update. 3669 * doc/automake.texi (Assembly Support): Adjust. 3670 * tests/asm3.test: New test. 3671 * tests/Makefile.am: Update. 3672 36732007-10-09 Jim Meyering <meyering@redhat.com> 3674 3675 Add lzma compression support. 3676 * NEWS: Mention it. 3677 * automake.in (handle_dist): Recognize dist-lzma. 3678 (make_paragraphs): Map LZMA to dist-lzma. 3679 * doc/automake.texi (Dist): Add dist-lzma. 3680 (Options): Likewise. 3681 * lib/Automake/Options.pm (_process_option_list): 3682 (dist dist-all): Add command to create an lzma-compressed tarball. 3683 (distcheck): Handle lzma-compressed tarballs just like the others. 3684 * tests/defs.in: Test for lzma, too. 3685 * tests/lzma.test: New file, based on nogzip.test. 3686 * tests/Makefile.am (TESTS): Add lzma.test. 3687 Suggestion from Karl Berry. 3688 36892007-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3690 3691 * automake.in (TARGET_PATTERN): Allow leading digit. 3692 * tests/exeext3.test: Adjust to expose this. 3693 Report by Claudio Fontana and Laurence Finston. 3694 36952007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3696 3697 * tests/defs.in (required): For gcj, check whether `gcj -v' 3698 works, to avoid broken installations without libgcj.spec. 3699 Export $GCJ. 3700 * tests/gcj4.test: Setting GCJ not needed any more. 3701 * THANKS: Update. 3702 Report by Jesse Chisholm. 3703 37042007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3705 3706 * lib/config-ml.in, lib/config.guess, lib/config.sub, 3707 lib/symlink-tree, lib/texinfo.tex: New upstream versions. 3708 37092007-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3710 3711 * doc/automake.texi (gettext): Fix link to gettext manual. 3712 37132007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3714 3715 In ChangeLog files, use more-permissive notice rather than GPL, 3716 as per usual GNU standards these days. 3717 37182007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3719 3720 * automake.in (handle_programs): Also clean .libs/_libs 3721 directory for _PROGRAMS. 3722 * tests/libtoo10.test: New test. 3723 * tests/Makefile.am: Update. 3724 * THANKS: Update. 3725 Report by Guillermo Ontañón. 3726 37272007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3728 3729 * configure.ac: Actually require version 2.60 in the test for 3730 Autoconf, and recommend it in the error messages. 3731 * THANKS: Update. 3732 Report by Robert Swafford. 3733 37342007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3735 3736 * doc/automake.texi (VPATH Builds): Fix wording. 3737 Report by Reuben Thomas. 3738 37392007-07-22 Noah Misch <noah@cs.caltech.edu> 3740 3741 * tests/subst.test: Move the AC_SUBST into a macro definition. 3742 Avoids an error from CVS Autoconf. 3743 * THANKS: Update. 3744 Report by Benoit Sigoure. 3745 37462007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3747 Alexandre Duret-Lutz <adl@gnu.org> 3748 3749 * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target 3750 $(am__aclocal_m4_deps) without any dependencies, to avoid the 3751 "deleted .m4 file" problem. 3752 * tests/acloca22.test: New test. 3753 * tests/Makefile.am: Update. 3754 * NEWS: Update. 3755 37562007-07-22 Francesco Salvestrini <salvestrini@gmail.com> 3757 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3758 3759 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) 3760 (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and 3761 $(LIBTOOLFLAGS). 3762 * lib/am/progs.am (install-%DIR%PROGRAMS) 3763 (uninstall-%DIR%PROGRAMS): Likewise. 3764 * tests/libtool7.test: Update test for `install' and 3765 `uninstall' cases. 3766 * NEWS, THANKS: Update. 3767 37682007-07-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3769 3770 * doc/automake.texi: Remove Front-Cover and Back-Cover Texts, 3771 this manual is not printed by the FSF. 3772 37732007-07-16 Alexandre Duret-Lutz <adl@gnu.org> 3774 3775 * NEWS: Clarify that COPYING files are not updated. 3776 37772007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3778 3779 * doc/automake.texi: New Back-Cover Text. 3780 Report by Karl Berry. 3781 37822007-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3783 3784 * aclocal.in (version): Fix output to match GCS requirements. 3785 * automake.in (version): Likewise. 3786 Report by Eric Blake. 3787 3788 * COPYING, lib/COPYING: Update to GPLv3. All uses changed. 3789 * NEWS: Update. 3790 37912007-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3792 3793 * lib/gnupload: Fix shell portability issues with for loops. 3794 Report by Karl Berry. 3795 37962007-06-23 Paul Eggert <eggert@cs.ucla.edu> 3797 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3798 3799 * aclocal.in (write_aclocal): Warn about autoconf 3800 incompatibilities instead of making them fatal. 3801 * tests/missing4.test: Adjust. 3802 * NEWS: Update. 3803 Problem reported by Bruno Haible in 3804 <https://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>. 3805 38062007-05-03 Stepan Kasal <kasal@ucw.cz> 3807 3808 * doc/automake.texi, lib/Automake/Rule.pm: Fix typos. 3809 * automake.in: Likewise. 3810 (am_primary_prefixes): Keep the intentional typo there. 3811 38122007-04-25 Eric Blake <ebb9@byu.net> 3813 3814 * doc/stamp-vti: Remove generated file from revision control. 3815 * doc/version.texi: Likewise. 3816 38172007-04-23 Reuben Thomas <rrt@sc3d.org> (tiny change) 3818 3819 * doc/automake.texi (Python): Fix typo. 3820 38212007-03-30 Eric Blake <ebb9@byu.net> 3822 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3823 3824 * lib/mdate-sh (ls_command): Use -n when available to avoid 3825 problems with spaces in user/group names. 3826 * tests/mdate5.test: New test. 3827 * tests/Makefile.am: Adjust. 3828 38292007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3830 3831 * automake.in (handle_tests): Rewrite XFAIL_TESTS just like 3832 TESTS, appending $(EXEEXT), so that matching continues to work 3833 on w32. 3834 * NEWS: Mention this. 3835 * doc/automake.texi (EXEEXT, Extending): Update. 3836 * tests/check7.test: New test. 3837 * tests/Makefile.am: Adjust. 3838 Bug report by Ed Hartnett. 3839 38402007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3841 3842 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search 3843 the whole file, but use sed to reduce the line length. 3844 Fixes 1.10 regression. Report by David Byron. 3845 * THANKS, NEWS: Update. 3846 38472007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3848 3849 * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64 3850 one. Fixes failure to catch dependencies with libtool and xlc 3851 in case of enable_static=no (which is the default on AIX without 3852 runtimelinking). 3853 * tests/depcomp7.test: Run test once with --disable-shared and 3854 once with --disable-static, to expose failure systematically. 3855 * NEWS: Update. 3856 38572007-03-29 Stepan Kasal <kasal@ucw.cz> 3858 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3859 3860 * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message. 3861 * tests/pr401.test: Update to expose the error. 3862 * tests/pr401b.test: Likewise. 3863 * tests/pr401c.test: Likewise. 3864 38652007-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3866 3867 * automake.in (scan_autoconf_config_files): Warn about leading 3868 `./' in config file names. 3869 * tests/canon-name.test: New test. 3870 * tests/Makefile.am: Update. 3871 * THANKS: Update. 3872 Suggestion by Claudio Fontana. 3873 3874 * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES' 3875 as documented in the manual. Fixes parallel make failure. 3876 Report by Dieter Jurzitza. 3877 * THANKS: Update. 3878 3879 * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice. 3880 3881 * TODO: Kill a couple of outdated items. 3882 * tests/exdir3.test: New test. 3883 * tests/Makefile.am: Update. 3884 38852007-01-27 Bruno Haible <bruno@clisp.org> 3886 3887 * doc/automake.texi (Multiple Outputs): Fix the multiple outputs 3888 with locking example. 3889 38902007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3891 3892 * doc/automake.texi (Subpackages): Fix ambiguous wording. 3893 Report and suggestions by Reuben Thomas. 3894 * THANKS: Update. 3895 38962007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3897 3898 * tests/defs.in (is_newest): Cope with multiple newer files. 3899 * NEWS: mention `install-sh -C'. 3900 39012006-12-25 Paul Eggert <eggert@cs.ucla.edu> 3902 3903 * lib/install-sh (initialize_posix_glob): New var. 3904 Use it instead of setting posix_glob inline. 3905 (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience. 3906 (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff 3907 of Akim's patch. 3908 Use LC_ALL before invoking 'ls' when we depend on its output format. 3909 Don't use awk; just use the shell's builtin features. 3910 Clean up $dsttmp if -C detects no installation is needed. 3911 * tests/defs.in (is_newest): Renamed from is_younger; the new 3912 name is more accurate. All uses changed. 3913 (old_timestamp): New var. 3914 * tests/instsh2.test: Rewrite to avoid the need for sleeping. 3915 39162006-12-25 Akim Demaille <akim@epita.fr> 3917 3918 * lib/install-sh: Implement install-sh -C. 3919 (This patch is the remaining part of the patch proposed in 3920 <https://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.) 3921 (usage): Document it. 3922 (copy_on_change): New var. 3923 * tests/defs.in (is_younger): New function. 3924 * tests/instsh2.test: Check install-sh -C. 3925 39262006-12-24 Paul Eggert <eggert@cs.ucla.edu> 3927 3928 * lib/install-sh: Fix typo in previous patch for handling --. 3929 Use more-consistent style for ';;'. 3930 Prefer || to if-then-else-:. 3931 * tests/install2.test: Rework to avoid set -e problems. 3932 39332006-12-24 Akim Demaille <akim@epita.fr> 3934 3935 Simplify install-sh and its test. This shouldn't change any behavior. 3936 (This patch is a subset of the patch proposed in 3937 <https://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.) 3938 * lib/install-sh (usage): Use usual GNU style. 3939 (dstarg): Rename as... 3940 (dst_arg): this for consistency. 3941 Simplify quoting of assignments. 3942 Sort them. 3943 Don't use '\' to continue commands: && suffices. 3944 Remove useless "continue" in the argument processing, 3945 and factor the shifts. 3946 * tests/defs.in: Some improvements to make it set -e clean. 3947 Use the traditional ":" trick to protect loops from being empty. 3948 Remove an empty straightforward piece of code prepared to define 3949 additional variables. 3950 Use test instead of [], for consistency. 3951 * tests/install2.test: Use set -e, to simplify code. 3952 39532006-12-20 Reuben Thomas <rrt@sc3d.org> (tiny change) 3954 3955 * doc/automake.texi: Fix typo. 3956 39572006-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3958 3959 * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building 3960 amhello, to prevent gmake from invoking make with MAKEFLAGS 3961 it does not understand. 3962 Report by Patrick Welche. 3963 3964 * lib/gnupload: Revert last change. Add pointer to upload 3965 instructions of the GNU Maintenance Instructions. 3966 Suggestion by Karl Berry. 3967 39682006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3969 3970 * lib/gnupload: Add missing 'gnu' to example URL. 3971 Report by Karl Berry. 3972 39732006-10-28 Bobby Jack <bobbykjack@yahoo.co.uk> (tiny change) 3974 3975 * doc/automake.texi (amhello Explained): autoconf creates 3976 configure, not configure.ac. 3977 * THANKS: Update. 3978 39792006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3980 3981 * doc/automake.texi (Dist, Dependency Tracking Evolution): 3982 Fix some typos. 3983 * lib/Automake/Condition.pm: Likewise. 3984 * lib/Automake/DisjConditions.pm: Likewise. 3985 * lib/Automake/ItemDef.pm: Likewise. 3986 * lib/Automake/Options.pm: Likewise. 3987 * lib/Automake/Rule.pm: Likewise. 3988 * lib/Automake/VarDef.pm: Likewise. 3989 * lib/Automake/Variable.pm: Likewise. 3990 * lib/Automake/Wrap.pm: Likewise. 3991 * lib/Automake/XFile.pm: Likewise. 3992 * m4/substnot.m4: Likewise. 3993 39942006-10-16 Alexandre Duret-Lutz <adl@gnu.org> 3995 3996 * lib/gnupload: Update to version 1.1 of directive file. 3997 39982006-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3999 4000 * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes 4001 right before the expanded source file name. 4002 * automake.in (%sourceflags): New global: per-extension flag 4003 to denote that the next compiler argument is the source file. 4004 (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize 4005 %sourceflags accordingly. 4006 (handle_single_transform): Store source file extension in... 4007 (%lang_specific_files): ...this and... 4008 (handle_languages): ...adjust here. Pass flag in SOURCEFLAG. 4009 * doc/automake.texi (Optional): Add AC_FC_SRCEXT. 4010 (Fortran 9x Support): Update. 4011 * tests/fort2.test: New test. 4012 * tests/Makefile.am: Adjust. 4013 * NEWS, THANKS: Update. 4014 Suggested by Steven G. Johnson. 4015 4016 For PR automake/480. 4017 * automake.in (lang_f77_rewrite, lang_fc_rewrite) 4018 (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite): 4019 return `lang_sub_obj' to support subdir-object mode for the 4020 Fortran dialects. 4021 * tests/fort4.test, tests/fort5.test: New tests. 4022 * tests/Makefile.am: Update. 4023 * NEWS, THANKS: Update. 4024 Report by Davyd Madeley and Shannon L. Brown. 4025 4026 * lib/am/header-vars.am (pkglibexecdir): New variable. 4027 * automake.in (%standard_prefix): Add it. 4028 * doc/automake.texi (Uniform): Document it. 4029 (Program Sources): Adjust. 4030 * NEWS: Update. 4031 * tests/libexec.test: New test. 4032 * tests/Makefile.am: Update. 4033 Suggested by Eric Blake. 4034 40352006-10-15 Alexandre Duret-Lutz <adl@gnu.org> 4036 4037 * lib/gnupload: Update to version 1.1 of directive file. 4038 4039 * configure.ac, NEWS: Bump version to 1.10a. 4040 4041 * configure.ac, NEWS: Bump version to 1.10. 4042 * doc/automake.texi (Releases): Update for 1.10. 4043 4044 * lib/config.sub, lib/texinfo.tex: New upstream versions. 4045 4046 * lib/am/depend2.am: Typo. 4047 * lib/depcomp (scriptversion): Bump, to account for recent changes. 4048 4049 * doc/automake.texi (Examples): Introduce the example, and point 4050 to Hello World. 4051 (Hello): Remove this obsolete node. 4052 40532006-10-15 Hans Ulrich Niedermann <hun@n-dimensional.de> 4054 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4055 4056 For PR automake/507: 4057 * lib/am/distdir.am (distdir): filename-length-max check is not 4058 done in sub-packages. 4059 * doc/automake.texi (Options): Document this. 4060 * tests/fn99subdir.test: New test. 4061 * tests/Makefile.am: Update. 4062 * THANKS: Update. 4063 40642006-10-14 Alfred M. Szmidt <ams@gnu.org> (tiny change) 4065 4066 * doc/automake.texi (Third-Party Makefiles): Fix typo. 4067 * THANKS: Update. 4068 40692006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4070 4071 * aclocal.in (write_aclocal): Improve warning for mismatched 4072 Autoconf version. 4073 4074 * automake.in: For preprocessed assembler, add `$(DEFS) 4075 $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule. 4076 * doc/automake.texi (Assembly Support): Update. 4077 * NEWS: Update. 4078 Suggested by Thomas Schwinge and Ralf Corsepius. 4079 4080 For PR automake/492. 4081 * automake.in (output_flag): Set to `-o' for Assembler and 4082 preprocessed Assembler, assuming that all understand `-c -o'. 4083 * THANKS, NEWS: Update. 4084 * tests/subobj10.test: New test. 4085 * tests/Makefile.am: Update. 4086 Report by Thomas Schwinge. 4087 4088 * automake.in (%_macro_for_cond): New variable. 4089 (cond_stack_if): Use it for better error message about 4090 missing dependency tracking conditionals. 4091 * tests/asm2.test: New test, modelled after asm.test. 4092 * tests/Makefile.am: Adjust. 4093 Report by Ralf Corsepius. 4094 4095 * doc/automake.texi (Options): `no-dependencies' is similar 4096 to `--ignore-deps', not `--include-deps'. 4097 * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke 4098 _AM_DEPENDENCIES. 4099 * tests/nodep2.test: New test. 4100 * tests/Makefile.am: Adjust. 4101 4102 * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the 4103 LIBOBJDIR, then we should not add a DEPDIR prefix. 4104 * tests/pr401.test: Update test. 4105 * tests/pr401b.test: Likewise. 4106 * tests/pr401c.test: Likewise. 4107 Report by Jim Meyering and Eric Blake. 4108 4109 * lib/depcomp (gcc3): Put dependency extraction flags before the 4110 `-c' flag, so they appear at the same position as in %FASTDEP% 4111 mode in depend2.am. Fixes build failure for FreeBSD's c89, 4112 which ignores unknown options only after the first non-option. 4113 Bug report against M4 by Nelson H. F. Beebe. 4114 41152006-10-14 Bruno Haible <bruno@clisp.org> 4116 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4117 4118 * automake.in ($seen_gettext_intl): New variable. 4119 (handle_gettext): Consider it. 4120 (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list. 4121 Set $seen_gettext_intl when it is seen. 4122 * doc/automake.texi (gettext, Optional): Update. 4123 * tests/gettext3.test: New test. 4124 * tests/Makefile.am: Update. 4125 41262006-10-14 Paul Eggert <eggert@cs.ucla.edu> 4127 4128 * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m, 4129 which incorrectly sets the mode of an existing destination 4130 directory. In some cases the unpatched install-sh could do the 4131 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD 4132 system. We hope this is rare in practice, but it's clearly worth 4133 fixing. Problem reported by Alex Unleashed in 4134 <https://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>. 4135 Also, don't bother to check for -m bugs unless we're using -m; 4136 suggested by Stepan Kasal. 4137 41382006-10-14 Geoffrey Keating <geoffk@apple.com> (tiny change) 4139 4140 * m4/multi.m4: Non-default multilibs may be cross compilation. 4141 41422006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4143 4144 * automake.in: Fix some typos in comments. 4145 * lib/Automake/Variable.pm: Likewise. 4146 41472006-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4148 4149 * automake.in (handle_compile): Use subst, for maintainer-check. 4150 41512006-10-09 Andreas Köhler <andi5.py@gmx.net> (tiny change) 4152 4153 For PR automake/505: 4154 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): 4155 Fix typo: `config.status.lineno', not `configure.status.lineno'. 4156 41572006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4158 4159 * NEWS: Mention that `install-sh' needs executable permissions. 4160 * tests/nobase.test: Adjust. 4161 Report by Patrick Welche. 4162 41632006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4164 4165 * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS 4166 against currently running test for the first and last element 4167 of $(TESTS): add spacing so Solaris make does VPATH expansion 4168 on these words, too. 4169 * tests/check6.test: Update. 4170 41712006-08-30 Paul Eggert <eggert@cs.ucla.edu> 4172 4173 For PR automake/501: 4174 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%): 4175 Abbreviate output a bit by not bothering to quote the .Po file 4176 name (the quoting doesn't suffice in general anyway), and by not 4177 bothering to remove junk .Tpo files (as they'll be removed later). 4178 This also lets 'make' run faster by avoiding a subshell. 4179 41802006-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4181 4182 * automake.in: Fortran 77 and Fortran should require variables 4183 F77 resp. FC to be defined, and suggest the respective Autoconf 4184 macros otherwise. 4185 * tests/fort1.test: New test. 4186 * tests/Makefile.am: Update. 4187 4188 * tests/ext.test: Add extensions f95, F90, F95. 4189 41902006-08-30 Alexandre Duret-Lutz <adl@gnu.org> 4191 4192 For PR automake/500: 4193 * automake.in (handle_compile) <$default_includes>: Do not output 4194 the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'. 4195 * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in 4196 non-VPATH builds since we always have `-I.'. 4197 * tests/subpkg.test: Make sure config headers are found in VPATH 4198 and non-VPATH builds. 4199 42002006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4201 4202 * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos. 4203 * NEWS: Likewise. Clarify that only one LIBOBJDIR is supported. 4204 42052006-08-23 Alexandre Duret-Lutz <adl@gnu.org> 4206 4207 * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability 4208 is enabled by default with gnu and gnits strictness. 4209 Report from Bruno Haible. 4210 42112006-08-22 Paul Eggert <eggert@cs.ucla.edu> 4212 4213 * NEWS: Mark de-ANSI-fication as being obsolete. 4214 * doc/automake.texi: Likewise. 4215 42162006-08-21 Stepan Kasal <kasal@ucw.cz> 4217 4218 * Makefile.am, THANKS: Fix typos. 4219 42202006-08-20 Alexandre Duret-Lutz <adl@gnu.org> 4221 4222 * NEWS, configure.ac: Bump version to 1.9c. 4223 4224 * NEWS, configure.ac: Bump version to 1.9b. 4225 4226 * Makefile.am (maintainer-check): Check for mkdir_p in automake.in 4227 too. 4228 * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p. 4229 4230 * m4/mkdirp.m4: Typo in previous patch. 4231 4232 * Makefile.am (maintainer-check): Fine-tune the "Unescaped @" 4233 check so it doesn't complain about the '@ 's in node "Standard 4234 Directory Variables". 4235 4236 * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New 4237 upstream versions. 4238 4239 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with 4240 $(top_builddir)/ if it is a relative directory. 4241 42422006-08-19 Alexandre Duret-Lutz <adl@gnu.org> 4243 4244 * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use 4245 ylwrap. Suggested by Akim Demaille long ago, to ease maintenance. 4246 * automake.in (handle_languages): Do not define MORE-THAN-ONE. 4247 (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always 4248 require ylwrap. 4249 * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the 4250 documentation of ylwrap. 4251 * tests/lex.test, tests/lex4.test, tests/mmodely.test, 4252 tests/yacc.test, tests/yacc2.test, tests/yacc3.test, 4253 tests/yaccpp.test: Adjust. 4254 4255 * doc/automake.texi (Releases): Update statistics until 1.9.6. 4256 4257 * Makefile.am (maintainer-check): Check for mkdir_p. 4258 * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P. 4259 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am, 4260 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am, 4261 lib/am/mans.am, lib/am/progs.am, lib/am/python.am, 4262 lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p. 4263 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not 4264 as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use 4265 mkdir_p without defining MKDIR_P. 4266 * tests/distdir.test, tests/instman.test, tests/txinfo21.test: 4267 Adjust. 4268 4269 * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm. 4270 * configure.ac (ACLOCAL): Use --acdir=m4 in addition to 4271 -I m4. Running aclocal during the rebuild rules will fail 4272 if the default acdir does not exist. 4273 4274 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4: 4275 Require Autoconf 2.60 instead of some intermediate development 4276 version. 4277 4278 * doc/automake.texi (Standard Directory Variables): Fix multitable 4279 width. 4280 (Autotools Introduction): Fix @uref usage. 4281 42822006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4283 4284 * doc/automake.texi: Fix some typos in the introduction, 4285 adjust some spacing; spell `GNU Build System' consistently. 4286 (menu): Unify node naming. 4287 (Standard Directory Variables): Clarify that this list is not 4288 exhaustive. 4289 (DESTDIR): Fix example. 4290 42912006-08-19 Alexandre Duret-Lutz <adl@gnu.org> 4292 4293 * doc/automake.texi (Autotools Introduction) New chapter. 4294 Thanks to Ben Pfaff and Ralf Wildenhues for comments. 4295 (Auxiliary Programs, Install, Dist, Third-Party Makefiles) 4296 (distcleancheck): More cross references. 4297 * doc/amhello/configure.ac, doc/amhello/README, 4298 doc/amhello/Makefile.am, doc/amhello/src/Makefile.am, 4299 doc/amhello/src/main.c: New files. 4300 * doc/Makefile.am (dist_noinst_DATA): Distribute them. 4301 ($(srcdir)/amhello-1.0.tar.gz): New rule. 4302 (dist_doc_DATA): Install amhello-1.0.tar.gz. 4303 * Makefile.am (SUBDIRS): Update comment. 4304 43052006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4306 4307 * doc/automake.texi: Fix some typos. 4308 43092006-08-14 Jonathan Higa <jthiga@gmail.com> 4310 4311 * automake.in: Register "Unified Parallel C" as language. 4312 (lang_upc_rewrite): New function. 4313 (resolve_linker): Consider UPCLINK. 4314 * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest 4315 AM_PROG_UPC for UPC and UPCFLAGS. 4316 * m4/upc.m4: New file. 4317 * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case. 4318 * m4/Makefile.am (dist_m4data_DATA): Add upc.m4. 4319 * doc/automake.texi (Unified Parallel C Support): New node. 4320 (Public macros): Mention AM_PROG_UPC. 4321 (Program and Library Variables, Flag Variables Ordering): 4322 Mention UPCFLAGS. 4323 * tests/upc.test, tests/upc2.test, tests/upc3.test: New file. 4324 * tests/Makefile.am (TESTS): Add them. 4325 * tests/ext.test: Also test upc files. 4326 43272006-08-04 Alexandre Duret-Lutz <adl@gnu.org> 4328 4329 * doc/automake.texi (Scripts): Fix some errors in previous patch. 4330 4331 * doc/automake.texi (Scripts): Revamp. Show an example of script 4332 built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for 4333 other built scripts. 4334 4335 * m4/init.m4: Suggest fixing the call to AC_INIT when 4336 AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for 4337 newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments. 4338 * tests/init.test: New file. 4339 * tests/Makefile.am (TESTS): Add it. 4340 43412006-08-04 Stepan Kasal <kasal@ucw.cz> 4342 4343 * automake.in (dist_dirs, fill_dist_dirs): Remove. 4344 * lib/am/distdir.am (DISTDIRS): Remove. 4345 * tests/distdir.test, tests/pr2.test: Do not grep, use 4346 `make distdir' instead. 4347 43482006-08-04 Alexandre Duret-Lutz <adl@gnu.org> 4349 4350 * doc/automake.texi (Conditionals): Split in two sections, "Usage" 4351 and "Portability", and add a third one, "Limits" to explain how 4352 conditional definitions inside multi-lines definitions can be 4353 handled. 4354 * automake.in (handle_options): Do not assume that 4355 AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional 4356 definitions of AUTOMAKE_OPTIONS. 4357 Report from Bas Wijnen. 4358 * tests/amopt.test: New test. 4359 * tests/Makefile.am (TESTS): Add it. 4360 4361 * aclocal.in (install_file): Cannot use /dev/null while diffing 4362 new files, because Tru64's diff do not handle /dev/null. So 4363 create an empty destination file before running diff on a new 4364 file, and erase it afterward. Fall back to using /dev/null only 4365 if we cannot create this file. 4366 Report and initial patch from Ralf Wildenhues. 4367 (unlink_tmp): New function. 4368 * test/acloca18.test: Make sure the empty file has been erased. 4369 43702006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4371 4372 * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects, 4373 do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR, 4374 to help BSD Make find the files also in a VPATH build. 4375 Also return the same path, possibly prefixed, for correct 4376 depdir computation. 4377 * tests/pr401.test: Update to expose wrong depdir computation. 4378 Rewrite to not use the same file name for library object and 4379 main program. 4380 * tests/pr401b.test, tests/pr401c.test: Likewise. 4381 43822006-07-09 Paul Eggert <eggert@cs.ucla.edu> 4383 4384 * lib/install-sh: Don't incorrectly claim that this implementation 4385 can install only one file at a time. 4386 (doit_exec): New var, for using 'exec' if possible, to save a process. 4387 (test_mode, intermediate_mode): Remove. 4388 (mode): Check for IFS or globbing characters in mode, since they might 4389 cause weird behavior with the other changes below. All later uses 4390 of '"$mode"' changed to '$mode', since the ""s no longer matter. 4391 Use octal modes if the invoker specifies an octal mode, and use 4392 octal umask values if 'umask' outputs octal values; this is more 4393 likely to work with older operating systems since Automake uses 4394 octal modes, and also works around a bug with HP-UX 11.23 4395 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in 4396 <https://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>. 4397 (cp_umask, mkdir_umask): New variables, to avoid 4398 temporarily creating files or directories with too-permissive modes. 4399 (mkdir_mode): Use the FreeBSD 'install' method for computing modes of 4400 intermediate directories; this is safer. 4401 (posix_mkdir): Also test mkdir -p -m ... by making a directory in 4402 /tmp and checking the resulting mode with 'ls', to catch a bug in 4403 HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message. 4404 Use ':' for true, not 'true'; this is a bit faster on 4405 traditional implementations. 4406 44072006-07-09 Jim Meyering <jim@meyering.net> 4408 4409 * lib/depcomp: "in in" -> "in" in comment. 4410 44112006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4412 4413 * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr, 4414 for consistency with the recommendation prompted by this report: 4415 <https://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>. 4416 44172006-06-24 Stepan Kasal <kasal@ucw.cz> 4418 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4419 4420 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to 4421 `'$(MKDIR_P)'', so that it retains the per-directory value 4422 computed by config.status. 4423 * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from 4424 a changed directory. Bugs reported by Ralf Menzel. 4425 * THANKS: Update. 4426 44272006-06-24 Eric Dorland <eric@debian.org> 4428 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4429 4430 * automake.in (scan_texinfo_file): Fix matching file extension. 4431 * tests/txinfo31.test: New test. 4432 * tests/Makefile.am: Update. 4433 44342006-06-07 Alexandre Duret-Lutz <adl@gnu.org> 4435 4436 * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1. 4437 44382006-06-07 Stepan Kasal <kasal@ucw.cz> 4439 4440 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P. 4441 44422006-06-06 Stepan Kasal <kasal@ucw.cz> 4443 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4444 4445 * lib/am/distdir.am: Do not call $(mkdir_p) for each 4446 distributed file, collect them and create them in one run, 4447 and strip $(srcdir) and $(top_srcdir) all at once. 4448 Fix some comment typos. 4449 44502006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4451 4452 * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler 4453 7.4.4m may omit the first included header dependency information 4454 with `-MDupdate'. Refine test to catch this. 4455 4456 * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap' 4457 procedure. 4458 4459 * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3 4460 requires `config.rpath' to be present, and automake now enforces 4461 this. Test this, but only if the gettext installation works and 4462 is recent enough to provide this diagnosis. 4463 * tests/gettext.test: Provide a dummy `config.rpath' for all 4464 subsequent checks. 4465 * tests/gettext2.test, tests/subcond.test: Likewise. 4466 4467 * tests/pr401.test: Replace "perl -i" with sed and mv, for 4468 MinGW perl. 4469 * tests/pr401b.test, tests/pr401c.test, tests/python11.test, 4470 * tests/yacc6.test, tests/yacc8.test: Likewise. 4471 4472 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use 4473 plain `grep' on the Makefile, as its line length may exceed that 4474 for grep. Bug report against coreutils by Sam Sirlin. 4475 * THANKS: Update. 4476 44772006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change) 4478 4479 * doc/automake.texi (Options): Add anchor `tar-formats'. 4480 44812006-05-25 Noah Misch <noah@cs.caltech.edu> 4482 4483 * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides 4484 ENOLCK. Only mention `make -j' when applicable. Only raise 4485 fatal errors when `make -j' is involved. Improve error message. 4486 44872006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4488 4489 * lib/Automake/Configure_ac.pm (find_configure_ac): Use 4490 `$configure_in' instead of `configure.in', to preserve 4491 directory component. 4492 * lib/Automake/Configure_ac.pm: Add note that Automake owns 4493 this file. 4494 * lib/Automake/Channels.pm: Likewise. 4495 * lib/Automake/FileUtils.pm: Likewise. 4496 * lib/Automake/Struct.pm: Likewise. 4497 44982006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4499 4500 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex: 4501 New upstream versions. 4502 45032006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4504 4505 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC 4506 repository, they use SVN now. 4507 45082006-05-13 Werner Lemberg <wl@gnu.org> 4509 4510 * lib/gnupload: Add support for savannah.gnu.org and 4511 savannah.nongnu.org. 4512 45132006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4514 4515 * lib/Automake/Channels.pm, lib/Automake/Condition.pm, 4516 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm, 4517 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos. 4518 45192006-05-11 Paul Eggert <eggert@cs.ucla.edu> 4520 4521 * lib/install-sh: Sync from Autoconf, as follows: 4522 Don't use 'path' to talk about file names, 4523 as per GNU coding standards. Close a race condition reported by Ralf 4524 Wildenhues and Stepan Kasal. There is still a race condition 4525 on hosts that predate Posix 1003.1-1992, but we can't help this. 4526 Don't mishandle weird characters like space on pre-Posix hosts. 4527 Invoke mkdir at most once per dir arg on pre-Posix hosts. 4528 45292006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4530 4531 * tests/missing.test, tests/missing2.test: Do not require 4532 GNUmake. 4533 * Makefile.am (maintainer-check): Make sure `required=' does not 4534 follow `. ./defs' in the tests. 4535 4536 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that 4537 ac_cv_prog_cc_stdc isn't just used by Automake code in 4538 `configure'. 4539 * tests/ansi6.test, tests/ansi7.test: Likewise. 4540 * tests/ansi9.test: Likewise. Do not override by setting 4541 $U and $(ANSI2KNR) at `make' time; that will be fragile. 4542 * tests/libobj8.test: Use AC_PROG_CC_STDC. 4543 * tests/subobj3.test: Likewise. Use `set -e'. 4544 4545 * lib/install-sh: Initialize IFS, so field splitting isn't 4546 turned off later. 4547 * lib/mkinstalldirs: Likewise. 4548 4549 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has 4550 the path of the prerequisite added; IRIX 6.5 make does not add 4551 it, Solaris 2.6 make is inconsistent about adding it. Fixes 4552 java.test failure. 4553 4554 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for 4555 files in the source tree. Fixes failures with HP-UX and Tru64 4556 make. 4557 4558 * lib/am/ansi2knr.am (ansi2knr): Rename target as... 4559 (./ansi2knr): ...this, for BSD make. 4560 (%ANSI2KNR-DIR%/ansi2knr): Adjust. 4561 45622006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4563 4564 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD 4565 /bin/sh -e issue with failing commands in if clauses. 4566 4567 * tests/defs.in (Be Bourne compatible): Update from current 4568 Autoconf. 4569 4570 * configure.ac: Recommend perl-5.8.2. 4571 * tests/automake.test: Do not fail because of buggy Getopt::Long 4572 in perl < 5.8.2. 4573 4574 * tests/longlin2.test: Do not use `grep' on Makefile.am: 4575 it has long lines and is thus not a text file; AIX 5.1 grep 4576 fails to scan non-plain patterns from long lines. 4577 4578 * tests/overrid.test: Change all regexes for warning messages to 4579 match after a colon, so that the prepended file names do not 4580 cause false matches. Tighten overrides regex. Fix typo 4581 `cleam-am-local' -> `clean-am-local'. 4582 4583 * tests/java.test: `configure' uses a trap, so use `(exit 77); 4584 exit 77' to portably set the exit status similar to AS_EXIT. 4585 * tests/fn99.test: propagate nonzero exit status from subshell. 4586 4587 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused 4588 if ``pwd`' contains the string `-p'. Create the wrapper in a 4589 subdirectory so that `.' in $PATH does not lead to an endless 4590 loop. 4591 4592 * lib/depcomp (ia64hp): Rename dependency style to.. 4593 (hp2): ..this, as it works with aCC on HPPA, too; adjust 4594 comment. Report by Olivier Fourdan (PR automake/481). 4595 * THANKS: Update. 4596 4597 * tests/aclocal7.test: Add `$sleep's between file touching 4598 and automake resp aclocal+automake invocations, to ensure 4599 they complete with a time stamp strictly later than the touched 4600 file. 4601 4602 * lib/missing: Remove superfluous quotes. Replace all uses of 4603 `[' by `test', for consistency, and for.. 4604 * tests/missing5.test: ..this new test. 4605 * tests/Makefile.am: Update. 4606 4607 * lib/missing (sed_minuso, sed_output): New variables. 4608 (autom4te, help2man, makeinfo): Use them. Unifies detection of 4609 `-o FILE', `--output FILE', `--output=FILE', stricter regex. 4610 Fixes `missing' to detect `--output' for help2man. Fixes 4611 PR automake/483. Report by Dennis J. Linse. 4612 (autom4te): Document in `missing --help'. 4613 * THANKS: Update. 4614 46152006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change) 4616 4617 * doc/automake.texi (Dependency Tracking Evolution): Fix typo. 4618 46192006-04-25 Stepan Kasal <kasal@ucw.cz> 4620 4621 * lib/install-sh: Simplify the expr implementation of dirname. 4622 46232006-04-24 Paul Eggert <eggert@cs.ucla.edu> 4624 4625 * lib/install-sh: Handle --, and diagnose unknown options. 4626 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set 4627 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with 4628 the other ways that mkdir_p might be set. 4629 46302006-04-21 Alexandre Duret-Lutz <adl@gnu.org> 4631 4632 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro. 4633 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it. 4634 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION. 4635 (write_aclocal): Output a check for Autoconf's version in aclocal.m4. 4636 Doing so ensures that users cannot build configure and Makefiles 4637 with two different autoconf versions. Report from Noah Misch. 4638 * tests/missing4.test: New file. 4639 * tests/Makefile.am (TESTS): Add it. 4640 46412006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change) 4642 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4643 4644 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test 4645 failed, instead of when the last one failed (PR automake/488). 4646 Report from Paul Lunau. 4647 * tests/dejagnu4.test: Update to expose this. 4648 * THANKS: Update. 4649 46502006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4651 4652 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by 4653 TABs as well as spaces. Fixes PR automake/490. 4654 * tests/check6.test: New test. 4655 * tests/Makefile.am, THANKS: Update. 4656 Report from Diab Jerius <djerius@cfa.harvard.edu>. 4657 46582006-04-17 Stepan Kasal <kasal@ucw.cz> 4659 4660 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the 4661 description; eliminate the duplicate error message. 4662 * doc/automake.texi (@direntry): `Invoking Automake' is the name 4663 of the usage node for `automake' 4664 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the 4665 comment. 4666 46672006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4668 4669 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c, 4670 because it uses `datarootdir'. Bump copyright year and serial. 4671 46722006-04-10 Stepan Kasal <kasal@ucw.cz> 4673 4674 * NEWS: Fix typo. 4675 46762006-04-09 Alexandre Duret-Lutz <adl@gnu.org> 4677 4678 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions. 4679 (_gen_varname): Use _hash_values, and return a flag indicating whether 4680 the variable name was generated or reused. 4681 (transform_variable_recursively): Do not redefine variables that 4682 are reused, and try to reuse the variable being transformed. 4683 * tests/check2.test: Make sure TESTS hasn't been redefined. 4684 * tests/check5.test, tests/exeext4.test: Make sure variables have 4685 been reused. 4686 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten. 4687 4688 * automake.in (%ignored_configure_vars): New variable. 4689 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill 4690 %ignored_configure_vars. 4691 (define_configure_variable): Declare ignored configure variables 4692 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR 4693 w.r.t. VAR_SILENT. 4694 * m4/substign.m4: New file. 4695 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4. 4696 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477). 4697 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH. 4698 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR. 4699 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined. 4700 * tests/amsubst.test: New file. 4701 * tests/Makefile.am (TESTS): Add it. 4702 47032006-04-09 Stepan Kasal <kasal@ucw.cz> 4704 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4705 4706 * automake.in (handle_single_transform): Preserve directories in 4707 direct suffix rules. 4708 * tests/suffix12.test: New test. 4709 * tests/Makefile.am (TESTS): Add it. 4710 Report from John Ratliff. 4711 47122006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change) 4713 Alexandre Duret-Lutz <adl@gnu.org> 4714 4715 * aclocal.in ($m4_include_rx): Do not recognize `include', and 4716 adjust scan_configure_dep and scan_file accordingly. 4717 (scan_configure_dep): Do not search white lines. 4718 (scan_file): Strip comments from current line after checking 4719 for serial, so that aclocal does not trip on `m4_include' macros 4720 in comments. Report from Mike Frysinger. 4721 * tests/acloca21.test: New file. 4722 * tests/Makefile.am (TESTS): Add it. 4723 47242006-03-24 Stepan Kasal <kasal@ucw.cz> 4725 4726 * tests/mmodely.test: Fix the test on systems with no lex. 4727 47282006-03-23 Stepan Kasal <kasal@ucw.cz> 4729 4730 * automake.in (libtool_new_api): Fix a typo in the comment. 4731 * lib/Automake/Makefile.am (Config.pm): Likewise. 4732 * lib/am/depend2.am: Likewise. 4733 * tests/xsource.test: With `set -e', `|| exit 1' is no longer 4734 needed. 4735 47362006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4737 4738 * tests/depcomp6.test, tests/depcomp7.test: Change back to 4739 using `$MAKE && exit 1', but make sure the last command in the 4740 test is successful. 4741 47422006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change) 4743 Stepan Kasal <kasal@ucw.cz> 4744 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4745 4746 * aclocal.in (parse_arguments): Added wildcard support to the 4747 dirlist parser. 4748 * doc/automake.texi (Macro search path): Document it. 4749 * tests/dirlist2.test: New test. 4750 * m4/dirlist, tests/Makefile.am: Adjust. 4751 47522006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4753 4754 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)' 4755 to `AC_PROG_OBJC' if provided, to fix Objective C depmode 4756 handling. 4757 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for 4758 OBJC and OBJCFLAGS. 4759 * tests/ext.test: Adjust. 4760 * tests/objc.test, tests/objc2.test: New tests. 4761 * tests/Makefile.am: Adjust. 4762 * doc/automake.texi (Objective C Support): New node. 4763 (Support for Other Languages): Adjust. 4764 47652006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4766 4767 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo. 4768 4769 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic 4770 to work with `set -e'. 4771 4772 * tests/depcomp6.test, tests/depcomp7.test: New tests, 4773 for general `depcomp' functionality, with and without 4774 `subdir-objects', with and without `libtool'. 4775 * tests/Makefile.am: Adjust. 4776 4777 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before 4778 writing into it, to break a symlinked file. 4779 * tests/acloca20.test: New test. 4780 * tests/Makefile.am: Updated. 4781 47822006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4783 4784 Allow package trees (packages with subpackages) to share 4785 common distributed auxiliary files (and directories) that 4786 reside within a subpackage. 4787 4788 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if 4789 `$(distdir)' already exists. 4790 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent 4791 removal of subpackage trees for distribution. 4792 * tests/subpkg3.test: New test. 4793 * tests/Makefile.am: Update. 4794 47952006-03-18 Alexandre Duret-Lutz <adl@gnu.org> 4796 4797 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm 4798 invocations to please maintainer-check. 4799 48002006-03-10 Alexandre Duret-Lutz <adl@gnu.org> 4801 4802 * automake.in (lang_c_rewrite): Typo in previous change. 4803 * tests/ccnoco2.test: New file. 4804 * tests/Makefile.am (TESTS): Add ccnoco2.test. 4805 4806 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement 4807 a 'portability' warning, so that people can ignore it. Suggested 4808 by Ralf Wildenhues. 4809 4810 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in 4811 gnu and gnits modes. 4812 * doc/automake.texi (Invoking Automake): Adjust. 4813 48142006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4815 4816 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and 4817 `.lpp' file extensions are recognized. 4818 48192006-02-21 Alexandre Duret-Lutz <adl@gnu.org> 4820 4821 * doc/automake.texi (Complete, Extending aclocal, Public macros) 4822 (Python, Conditionals, API versioning): Always quote macro arguments. 4823 Report from Stepan Kasal. 4824 48252006-02-16 Alexandre Duret-Lutz <adl@gnu.org> 4826 4827 * doc/automake.texi (Python): More examples. 4828 48292006-02-05 Alexandre Duret-Lutz <adl@gnu.org> 4830 4831 * doc/automake.texi (distcleancheck): Fix bad wording. Report 4832 from Bob Rossi. 4833 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS). 4834 48352006-01-29 Alexandre Duret-Lutz <adl@gnu.org> 4836 4837 Append $(EXEEXT) to programs that may be listed in TESTS. 4838 Report from Simon Josefsson. 4839 4840 * automake.in (%known_programs): New global. 4841 (initialize_per_input): Reset it. 4842 (append_exeext): Take a predicate as first argument to select 4843 the filename to rewrite. 4844 (handle_programs): Fill %known_programs. 4845 (handle_tests): Append $(EXEEXT) to all tests that are in 4846 %known_programs. 4847 (am_install_var): Update call to append_exeext. 4848 * doc/automake.texi (EXEEXT): TESTS is also rewritten. 4849 (Tests): More about the difference between check_PROGRAMS and TESTS. 4850 Give an example of TEST_ENVIRONMENT. 4851 * tests/cond32.test: Augment with a nested condition. 4852 * tests/exeext4.test: Also check TESTS. 4853 * tests/check5.test: New file. 4854 * tests/Makefile.am (TESTS): Add check5.test. 4855 48562006-01-12 Paul Eggert <eggert@cs.ucla.edu> 4857 4858 * lib/install-sh (dstdir): Don't use semicolons inside { } in 4859 sed scripts, as Posix says it's not portable. 4860 * lib/missing (file): Likewise. 4861 * lib/am/distdir.am (distcheck): Likewise. 4862 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise 4863 * tests/distcom2.test, tests/distcom3.test: Likewise. 4864 * tests/distcom4.test, tests/distcom5.test: Likewise. 4865 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise. 4866 48672006-01-12 Alexandre Duret-Lutz <adl@gnu.org> 4868 4869 * ChangeLog: Move 2004's entries to ... 4870 * ChangeLog.04: ... this new file. 4871 * Makefile.am (EXTRA_DIST): Add ChangeLog.04. 4872 4873 * tests/txinfo13.test: Test fix below. 4874 48752006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4876 4877 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted 4878 extra files in distribution. Reported by Vincent Lefevre. 4879 48802006-01-06 Alexandre Duret-Lutz <adl@gnu.org> 4881 4882 * doc/automake.texi (Linking, Program and Library Variables): 4883 Mention the file extensions that usually appear in _DEPENDENCIES, 4884 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A 4885 couple of people have been listing sources files in _DEPENDENCIES 4886 lately. 4887 4888 * doc/automake.texi: Bump copyright year. 4889 * automake.in ($gen_copyright, version): Likewise. 4890 * aclocal.in (write_aclocal, version): Likewise. 4891 48922006-01-05 Stepan Kasal <kasal@ucw.cz> 4893 Alexandre Duret-Lutz <adl@gnu.org> 4894 4895 * automake.in (topsrcdir): New global. 4896 (generate_makefile): Compute it. 4897 (fill_dist_dirs): New function extracted from handle_dist. 4898 (handle_dist, handle_configure): Use fill_dist_dirs. 4899 * tests/distdir.test: Test for cases where $(top_srcdir) or 4900 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer. 4901 49022006-01-05 Zack Weinberg <zackw@panix.com> 4903 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4904 4905 * lib/depcomp: Add 'ia64hp' dependency style. 4906 Zack's original patch was contributed to GCC on 2005-06-13. 4907 (tru64): Typo. 4908 49092005-11-01 Stepan Kasal <kasal@ucw.cz> 4910 4911 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that 4912 the code is portable to both POSIX and pre-POSIX shells. 4913 49142005-10-17 Alexandre Duret-Lutz <adl@gnu.org> 4915 4916 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x', 4917 suggested by Eric Blake. 4918 49192005-10-17 Stepan Kasal <kasal@ucw.cz> 4920 4921 * doc/automake.texi (Program and Library Variables): Typo. 4922 * lib/Automake/Variable.pm (transform_variable_recursively): Typo 4923 in a comment. 4924 49252005-10-03 Stepan Kasal <kasal@ucw.cz> 4926 4927 * ChangeLog.03, automake.in, tests/overrid.test: Typos. 4928 49292005-10-03 Alexandre Duret-Lutz <adl@gnu.org> 4930 4931 * tests/nobase.test: Exercise previous patch. 4932 49332005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change) 4934 4935 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh 4936 * m4/strip.m4: Ditto. 4937 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh 4938 49392005-09-13 Paul Eggert <eggert@cs.ucla.edu> 4940 4941 * doc/automake.texi (limitations on file names): New section. 4942 * lib/install-sh: Rewrite to support '*' in file names. 4943 Also, tune so that we don't invoke so many commands in the usual case. 4944 This has the side effect of fixing `install-sh -d' to not fail if it 4945 loses the race in creating the last path component against another 4946 process. 4947 * tests/instspc.test: The "*" test is now fixed. 4948 49492005-09-13 Stepan Kasal <kasal@ucw.cz> 4950 4951 * automake.in (Languages) <cppasm>: Fix typo in the comment. 4952 49532005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4954 4955 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put 4956 shell in verbose mode. 4957 49582005-08-07 Alexandre Duret-Lutz <adl@gnu.org> 4959 4960 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE 4961 value of a conditionally defined variable. 4962 Report from Juergen Leising. 4963 4964 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive 4965 $(MAKE) invocations. 4966 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%): 4967 Likewise. 4968 * lib/am/texi-vers.am (%STAMPVTI%): Likewise. 4969 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise. 4970 * Makefile.am (maintainer-check): Check for this. 4971 Report from Stepan Kasal. 4972 4973 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'. 4974 Prompted by Stepan Kasal. 4975 49762005-08-07 Stepan Kasal <kasal@ucw.cz> 4977 4978 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if 4979 the $(infodir) exists. 4980 49812005-07-31 Stepan Kasal <kasal@ucw.cz> 4982 4983 * tests/library3.test: Fix a typo which made the test fail. 4984 49852005-07-27 Alexandre Duret-Lutz <adl@gnu.org> 4986 4987 * doc/automake.texi (Linking, Program and Library Variables): 4988 Suggest reserving -l for third-party libraries. 4989 4990 * lib/Automake/Variable.pm (require_variables): Mention aclocal's 4991 search path when suggesting to add a macro in configure.ac. 4992 People are confused when Automake suggests adding a macro (such as 4993 AC_PROG_LIBTOOL) that is already in configure.ac. 4994 * automake.in (require_file_internal): Suggest `automake --add-missing' 4995 for missing files that can be installed. 4996 * tests/library3.test: Adjust. 4997 49982005-07-27 Stepan Kasal <kasal@ucw.cz> 4999 5000 * tests/defs.in: When required matches both `*libtool*' and 5001 `*gettext*', check for both m4 files. 5002 5003 * doc/automake.texi (Auxiliary Programs): Fix a typo. 5004 * tests/suffix11.test: Fix a typo. 5005 * tests/colon3.test: s/EGREP/FGREP/. 5006 50072005-07-19 Paul Eggert <eggert@cs.ucla.edu> 5008 5009 * tests/instspc.test: Major rewrite to test for many other 5010 problematic file names, e.g., '$', '"', '('. Automake and 5011 Autoconf can't handle many of them, so do not report a failure 5012 if the usual candidates show up. 5013 50142005-07-19 Stepan Kasal <kasal@ucw.cz> 5015 5016 * Makefile.am (automake, aclocal): Merge the rules. 5017 50182005-07-10 Alexandre Duret-Lutz <adl@gnu.org> 5019 5020 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream 5021 versions. 5022 50232005-07-09 Alexandre Duret-Lutz <adl@gnu.org> 5024 5025 * lib/install-sh: Use IFS=/ to split directories on /, don't translate 5026 / into % as it prevents directory names using %... 5027 50282005-07-09 Stepan Kasal <kasal@ucw.cz> 5029 5030 * doc/automake.texi (Public macros): Typo. 5031 * aclocal.in: Typo in comment. 5032 50332005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change) 5034 5035 * lib/depcomp: Handle "#line" markers as well as "# " markers in 5036 "cpp" style, so it can work with newer HP compilers (for their 5037 ia64 systems). 5038 50392005-07-02 Alexandre Duret-Lutz <adl@gnu.org> 5040 5041 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to 5042 fix an underful hbox. 5043 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex: 5044 New upstream versions. 5045 50462005-07-01 Alexandre Duret-Lutz <adl@gnu.org> 5047 5048 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5. 5049 50502005-06-30 Alexandre Duret-Lutz <adl@gnu.org> 5051 5052 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that 5053 lib/am/header-vars.am no longer uses it. 5054 * lib/am/libtool.am (distclean-am, distclean-libtool): Define 5055 if TOPDIR_P is true, not TOPDIR. 5056 Suggested by Stepan Kasal. 5057 5058 * automake.in (read_am_file): Correctly diagnose comments following 5059 trailing backslash. 5060 * tests/commen10.test: New file. 5061 * tests/Makefile.am (TESTS): Add commen10.test. 5062 Report from Harald Dunkel. 5063 5064 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead 5065 of AC_SUBST. 5066 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL): 5067 Do not define, they are AC_SUBST_TRACEd by Autoconf. 5068 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c. 5069 * tests/include.test: Call AC_OUTPUT. 5070 50712005-06-29 Alexandre Duret-Lutz <adl@gnu.org> 5072 5073 * lib/mkinstalldirs: Fix support for directory name with spaces if 5074 `mkdir -p' does not work. 5075 * tests/Makefile.am (TESTS): Add mkinst3.test. 5076 * tests/mkinst3.test: New file. 5077 Report from Noah Friedman. 5078 5079 * doc/automake.texi (Include, Extending aclocal): Typos. 5080 Report from Karl Berry. 5081 50822005-06-28 Stepan Kasal <kasal@ucw.cz> 5083 Alexandre Duret-Lutz <adl@gnu.org> 5084 5085 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set. 5086 * tests/txinfo28.test: Set TIME_STYLE. 5087 Report from Vincent Lefevre and James Youngman. 5088 50892005-06-24 Alexandre Duret-Lutz <adl@gnu.org> 5090 5091 * lib/Automake/Variable.pm (define, _new): Remember the helper 5092 variable created for the last conditional += on each variable, and 5093 only append further += in the same condition to this last helper 5094 variable, not to older helper variables. This way the order of 5095 the items appended to the variable is preserved. 5096 * tests/cond21.test: Adjust. 5097 * tests/cond38.test: New file. 5098 * tests/Makefile.am (TESTS): Add cond38.test. 5099 Report from Ed Hartnett. 5100 51012005-06-22 Alexandre Duret-Lutz <adl@gnu.org> 5102 5103 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes. 5104 5105 * automake.in (handle_footer): Do not output an unformatted 5106 definition of SOURCES, it is already done correctly in 5107 generate_makefile. This superfluous definition introduced long 5108 lines in some Makefiles, hence breakages in tools with a limited 5109 line length. Report from Mathias Froehlich. 5110 51112005-06-11 Alexandre Duret-Lutz <adl@gnu.org> 5112 5113 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%): 5114 Fix redirections in previous patch. 5115 51162005-06-08 Alexandre Duret-Lutz <adl@gnu.org> 5117 5118 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%): 5119 Do not backup any file if makeinfo is not installed. 5120 * lib/missing (makeinfo): Do not touch a missing info file. 5121 * tests/txinfo30.test: New file. 5122 * tests/Makefile.am (TESTS): Add txinfo30.test. 5123 Report from Bob Proulx. 5124 5125 * doc/automake.texi (Extending aclocal): Typo. 5126 51272005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change) 5128 5129 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS. 5130 51312005-05-15 Alexandre Duret-Lutz <adl@gnu.org> 5132 5133 Fix PR automake/461: 5134 * automake.in (require_build_directory): Canonicalize directories 5135 with different names, such as `foo/bar' and `./foo//bar'. 5136 * tests/subobj9.test: Augment to test that. 5137 Report from Tom Tromey. 5138 51392005-05-14 Alexandre Duret-Lutz <adl@gnu.org> 5140 5141 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02, 5142 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am, 5143 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure, 5144 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING, 5145 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in, 5146 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp, 5147 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile, 5148 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap, 5149 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm, 5150 lib/Automake/Condition.pm, lib/Automake/Config.in, 5151 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm, 5152 lib/Automake/FileUtils.pm, lib/Automake/General.pm, 5153 lib/Automake/Item.pm, lib/Automake/ItemDef.pm, 5154 lib/Automake/Location.pm, lib/Automake/Makefile.am, 5155 lib/Automake/Options.pm, lib/Automake/Rule.pm, 5156 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm, 5157 lib/Automake/VarDef.pm, lib/Automake/Variable.pm, 5158 lib/Automake/Version.pm, lib/Automake/Wrap.pm, 5159 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl, 5160 lib/Automake/tests/DisjConditions.pl, 5161 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl, 5162 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am, 5163 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am, 5164 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am, 5165 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am, 5166 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am, 5167 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am, 5168 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am, 5169 lib/am/lex.am, lib/am/library.am, lib/am/libs.am, 5170 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am, 5171 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am, 5172 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am, 5173 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am, 5174 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am, 5175 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am, 5176 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test, 5177 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test, 5178 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test, 5179 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test, 5180 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test, 5181 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test, 5182 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test, 5183 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test, 5184 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test, 5185 tests/acsubst.test, tests/acsubst2.test, tests/all.test, 5186 tests/alloca.test, tests/alloca2.test, tests/alpha.test, 5187 tests/alpha2.test, tests/amassign.test, tests/ammissing.test, 5188 tests/ansi.test, tests/ansi10.test, tests/ansi2.test, 5189 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test, 5190 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test, 5191 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test, 5192 tests/asm.test, tests/autohdr.test, tests/autohdr2.test, 5193 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test, 5194 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test, 5195 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test, 5196 tests/backsl3.test, tests/backsl4.test, tests/badline.test, 5197 tests/badopt.test, tests/badprog.test, tests/block.test, 5198 tests/bsource.test, tests/canon.test, tests/canon2.test, 5199 tests/canon3.test, tests/canon4.test, tests/canon5.test, 5200 tests/ccnoco.test, tests/check.test, tests/check2.test, 5201 tests/check3.test, tests/check4.test, tests/checkall.test, 5202 tests/clean.test, tests/clean2.test, tests/colneq.test, 5203 tests/colneq2.test, tests/colon.test, tests/colon2.test, 5204 tests/colon3.test, tests/colon4.test, tests/colon5.test, 5205 tests/colon6.test, tests/colon7.test, tests/comment.test, 5206 tests/comment2.test, tests/comment3.test, tests/comment4.test, 5207 tests/comment5.test, tests/comment6.test, tests/comment7.test, 5208 tests/comment8.test, tests/comment9.test, tests/compile.test, 5209 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test, 5210 tests/cond.test, tests/cond10.test, tests/cond11.test, 5211 tests/cond13.test, tests/cond14.test, tests/cond15.test, 5212 tests/cond16.test, tests/cond17.test, tests/cond18.test, 5213 tests/cond19.test, tests/cond2.test, tests/cond20.test, 5214 tests/cond21.test, tests/cond22.test, tests/cond23.test, 5215 tests/cond24.test, tests/cond25.test, tests/cond26.test, 5216 tests/cond27.test, tests/cond28.test, tests/cond29.test, 5217 tests/cond3.test, tests/cond30.test, tests/cond31.test, 5218 tests/cond32.test, tests/cond33.test, tests/cond34.test, 5219 tests/cond35.test, tests/cond36.test, tests/cond37.test, 5220 tests/cond4.test, tests/cond5.test, tests/cond6.test, 5221 tests/cond7.test, tests/cond8.test, tests/cond9.test, 5222 tests/condd.test, tests/condhook.test, tests/condinc.test, 5223 tests/condinc2.test, tests/condlib.test, tests/condman.test, 5224 tests/condman2.test, tests/conf2.test, tests/confdeps.test, 5225 tests/conff.test, tests/conff2.test, tests/confh.test, 5226 tests/confh4.test, tests/confh5.test, tests/config.test, 5227 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test, 5228 tests/conflnk3.test, tests/confsub.test, tests/confvar.test, 5229 tests/confvar2.test, tests/copy.test, tests/ctarget1.test, 5230 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test, 5231 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test, 5232 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test, 5233 tests/dash.test, tests/defs.in, tests/defun.test, 5234 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test, 5235 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test, 5236 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test, 5237 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test, 5238 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test, 5239 tests/depend.test, tests/depend2.test, tests/depend3.test, 5240 tests/depend4.test, tests/destdir.test, tests/dirforbid.test, 5241 tests/dirlist.test, tests/discover.test, tests/distcom2.test, 5242 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test, 5243 tests/distcom6.test, tests/distcom7.test, tests/distdir.test, 5244 tests/distname.test, tests/dollar.test, tests/double.test, 5245 tests/dup2.test, tests/else.test, tests/empty.test, 5246 tests/empty2.test, tests/empty3.test, tests/empty4.test, 5247 tests/exdir.test, tests/exdir2.test, tests/exeext.test, 5248 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test, 5249 tests/exsource.test, tests/ext.test, tests/ext2.test, 5250 tests/extra.test, tests/extra2.test, tests/extra3.test, 5251 tests/extra4.test, tests/extra5.test, tests/extra6.test, 5252 tests/extra7.test, tests/f90only.test, tests/flibs.test, 5253 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test, 5254 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test, 5255 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test, 5256 tests/gcj5.test, tests/getopt.test, tests/gettext.test, 5257 tests/gettext2.test, tests/gnits.test, tests/gnits2.test, 5258 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test, 5259 tests/gnuwarn2.test, tests/header.test, tests/help.test, 5260 tests/hfs.test, tests/hosts.test, tests/implicit.test, 5261 tests/include.test, tests/include2.test, tests/info.test, 5262 tests/insh2.test, tests/install2.test, tests/installdir.test, 5263 tests/instdat.test, tests/instdat2.test, tests/instexec.test, 5264 tests/insthook.test, tests/instman.test, tests/instman2.test, 5265 tests/instsh.test, tests/instsh2.test, tests/instspc.test, 5266 tests/interp.test, tests/interp2.test, tests/java.test, 5267 tests/java2.test, tests/java3.test, tests/javaprim.test, 5268 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test, 5269 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test, 5270 tests/lex5.test, tests/libobj10.test, tests/libobj11.test, 5271 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test, 5272 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test, 5273 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test, 5274 tests/library.test, tests/library2.test, tests/library3.test, 5275 tests/libtool.test, tests/libtool2.test, tests/libtool3.test, 5276 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test, 5277 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test, 5278 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test, 5279 tests/link_f90_only.test, tests/link_f_only.test, 5280 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test, 5281 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test, 5282 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test, 5283 tests/lisp8.test, tests/listval.test, tests/location.test, 5284 tests/longlin2.test, tests/longline.test, tests/ltcond.test, 5285 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test, 5286 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test, 5287 tests/make.test, tests/makej.test, tests/makevars.test, 5288 tests/man.test, tests/man2.test, tests/mclean.test, 5289 tests/mdate.test, tests/mdate2.test, tests/mdate3.test, 5290 tests/mdate4.test, tests/missing.test, tests/missing2.test, 5291 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test, 5292 tests/mmodely.test, tests/multlib.test, tests/nobase.test, 5293 tests/nodef.test, tests/nodef2.test, tests/nodep.test, 5294 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test, 5295 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test, 5296 tests/noinst.test, tests/noinstdir.test, tests/nolink.test, 5297 tests/nostdinc.test, tests/number.test, tests/obsolete.test, 5298 tests/order.test, tests/outdir.test, tests/output.test, 5299 tests/output10.test, tests/output11.test, tests/output12.test, 5300 tests/output2.test, tests/output3.test, tests/output4.test, 5301 tests/output5.test, tests/output6.test, tests/output7.test, 5302 tests/output8.test, tests/output9.test, tests/overrid.test, 5303 tests/parse.test, tests/percent.test, tests/percent2.test, 5304 tests/phony.test, tests/pluseq.test, tests/pluseq10.test, 5305 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test, 5306 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test, 5307 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test, 5308 tests/ppf77.test, tests/pr2.test, tests/pr204.test, 5309 tests/pr211.test, tests/pr220.test, tests/pr224.test, 5310 tests/pr229.test, tests/pr243.test, tests/pr266.test, 5311 tests/pr279-2.test, tests/pr279.test, tests/pr287.test, 5312 tests/pr300-lib.test, tests/pr300-ltlib.test, 5313 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test, 5314 tests/pr401b.test, tests/pr401c.test, tests/pr72.test, 5315 tests/pr87.test, tests/pr9.test, tests/prefix.test, 5316 tests/primary.test, tests/primary2.test, tests/primary3.test, 5317 tests/proginst.test, tests/python.test, tests/python10.test, 5318 tests/python11.test, tests/python12.test, tests/python2.test, 5319 tests/python3.test, tests/python4.test, tests/python5.test, 5320 tests/python6.test, tests/python7.test, tests/python8.test, 5321 tests/python9.test, tests/recurs.test, tests/recurs2.test, 5322 tests/regex.test, tests/remake.test, tests/remake2.test, 5323 tests/remake3.test, tests/remake4.test, tests/remake5.test, 5324 tests/req.test, tests/reqd.test, tests/reqd2.test, 5325 tests/rulepat.test, tests/scripts.test, tests/seenc.test, 5326 tests/sinclude.test, tests/space.test, tests/specflg.test, 5327 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test, 5328 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, 5329 tests/spell.test, tests/spell2.test, tests/spell3.test, 5330 tests/spelling.test, tests/spy.test, tests/srcsub.test, 5331 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test, 5332 tests/stdlib2.test, tests/strip.test, tests/subcond.test, 5333 tests/subcond2.test, tests/subcond3.test, tests/subdir.test, 5334 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test, 5335 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test, 5336 tests/subdir8.test, tests/subdir9.test, 5337 tests/subdirbuiltsources.test, tests/subobj.test, 5338 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test, 5339 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test, 5340 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test, 5341 tests/subpkg.test, tests/subpkg2.test, tests/subst.test, 5342 tests/subst2.test, tests/substre2.test, tests/substref.test, 5343 tests/substtarg.test, tests/suffix.test, tests/suffix10.test, 5344 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test, 5345 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test, 5346 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test, 5347 tests/symlink.test, tests/symlink2.test, tests/symlink3.test, 5348 tests/syntax.test, tests/tags.test, tests/tagsub.test, 5349 tests/tar.test, tests/tar2.test, tests/tar3.test, 5350 tests/target-cflags.test, tests/targetclash.test, 5351 tests/transform.test, tests/txinfo.test, tests/txinfo10.test, 5352 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test, 5353 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test, 5354 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test, 5355 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test, 5356 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test, 5357 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test, 5358 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test, 5359 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test, 5360 tests/vars.test, tests/vars3.test, tests/vartar.test, 5361 tests/version.test, tests/version2.test, tests/version3.test, 5362 tests/version4.test, tests/version6.test, tests/version7.test, 5363 tests/version8.test, tests/vpath.test, tests/vtexi.test, 5364 tests/vtexi2.test, tests/warnopts.test, tests/werror.test, 5365 tests/werror2.test, tests/whoami.test, tests/xsource.test, 5366 tests/yacc.test, tests/yacc2.test, tests/yacc3.test, 5367 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test, 5368 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test, 5369 tests/yaccvpath.test: Update FSF postal mail address. 5370 5371 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS 5372 Autoconf currently defines a CCC variable. 5373 5374 * tests/output11.test, tests/output12.test: Use rm -f. 5375 53762005-04-25 Gary V. Vaughan <gary@gnu.org> 5377 Alexandre Duret-Lutz <adl@gnu.org> 5378 5379 Support for remote LIBOBJS (and friends) with subdir-objects. 5380 Fixes PR automake/401. 5381 5382 * automake.in (config_libobj_dir): New variable. 5383 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR. 5384 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions. 5385 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of 5386 dependency files, possibly in a subdirectory. 5387 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests. 5388 * tests/Makefile.am (TESTS): Add them. 5389 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document. 5390 (LIBOBJS): Document changes in behaviour of 5391 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of 5392 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR. 5393 53942005-04-18 Jim Meyering <jim@meyering.net> 5395 5396 * doc/automake.texi (Dist): Correct English. 5397 53982005-03-31 Stepan Kasal <kasal@ucw.cz> 5399 5400 * doc/automake.texi: When the phrase "for instance" introduces a 5401 sentence, it should be delimited by a comma. 5402 5403 * doc/automake.texi: Fix a few typos. 5404 54052005-03-30 Alexandre Duret-Lutz <adl@gnu.org> 5406 5407 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as 5408 example, since the GCS now define htmldir. 5409 (Auxiliary Programs): Mention config-ml.in and symlink-tree. 5410 Give a URL for texinfo.tex. 5411 (Public macros): Sort alphabetically, and move obsolete macros... 5412 (Obsolete macros): ... here. 5413 Prompted by Karl Berry. 5414 54152005-03-29 Alexandre Duret-Lutz <adl@gnu.org> 5416 5417 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by 5418 Jim Meyering. 5419 5420 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover 5421 rule is run with `make -j'. 5422 * doc/automake.texi (Multiple Outputs): Adjust. 5423 * tests/lisp6.test: Augment it. 5424 * tests/lisp8.test: New file. 5425 * tests/Makefile.am (TESTS): Add lisp8.test. 5426 Suggested by Bruno Haible. 5427 54282005-03-27 Alexandre Duret-Lutz <adl@gnu.org> 5429 5430 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate. 5431 54322005-03-16 Alexandre Duret-Lutz <adl@gnu.org> 5433 5434 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover 5435 a missing *.elc file if it cannot be created because emacs does 5436 not exist. 5437 * tests/lisp7.test: New file. 5438 * tests/Makefile.am (TESTS): Add lisp7.test. 5439 Report from Greg Schafer. 5440 54412005-03-05 Alexandre Duret-Lutz <adl@gnu.org> 5442 5443 * doc/automake.texi: Replace wicked whiches by thats. 5444 54452005-03-04 Alexandre Duret-Lutz <adl@gnu.org> 5446 5447 * aclocal.in (scan_configure_dep, scan_file): Include file names 5448 are relative to the directory of configure.ac, not to the 5449 directory of the file doing the include. Remove code for this 5450 latter case. 5451 * tests/acloca13.test: Run distcheck and make sure all macros are 5452 actually distributed. 5453 54542005-03-03 Alexandre Duret-Lutz <adl@gnu.org> 5455 5456 For PR automake/450: 5457 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded 5458 files. 5459 * automake.in (scan_autoconf_traces): Likewise. 5460 * tests/sinclude.test: Augment. 5461 Report from Peter Breitenlohner. 5462 5463 For PR automake/450: 5464 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove 5465 acinclude.m4 and configure.ac to the include map in these two 5466 places ... 5467 (strip_redundant_includes): ... do it here. This completes the 5468 previous change from 2005-03-01, that did not update 5469 write_aclocal. 5470 * tests/acloca19.test: Augment. 5471 Report from Peter Breitenlohner. 5472 54732005-03-02 Alexandre Duret-Lutz <adl@gnu.org> 5474 5475 * tests/comment9.test: Typo. 5476 54772005-03-01 Alexandre Duret-Lutz <adl@gnu.org> 5478 5479 * automake.in (read_am_file): Preserve backslashes preceding ##-lines. 5480 * tests/comment9.test: New file. 5481 * tests/Makefile.am (TESTS): Add comment9.test. 5482 Report from Julien Sopena. 5483 5484 For PR automake/450: 5485 * aclocal.in (trace_used_macros): Do not explicitly trace files 5486 included by configure.ac. 5487 * tests/acloca19.test: New file. 5488 * tests/Makefile.am (TESTS): Add acloca19.test. 5489 Report from Peter Breitenlohner. 5490 54912005-02-27 Alexandre Duret-Lutz <adl@gnu.org> 5492 5493 Fix for PR automake/448: 5494 * automake.in (handle_factored_dependencies): Flag install-hook as 5495 an error. 5496 * tests/insthook.test: Exercise this. 5497 5498 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS. 5499 * doc/automake.texi (Hard-Coded Install Paths): Adjust. 5500 5501 * doc/automake.texi: Replace many uses of @samp by @code, and 5502 vice versa. Use @command, @option, and @env where appropriate. 5503 55042005-02-26 Alexandre Duret-Lutz <adl@gnu.org> 5505 5506 * doc/automake.texi: "filename" -> "file name", for consistency 5507 with GNU Coding Standards. See also Paul's change on 2004-08-20 5508 in Autoconf. 5509 5510 * doc/automake.texi (A Library, Libtool Libraries): Show how to link 5511 a program with a static or libtool library. 5512 (Program and Library Variables): Make clearer that _LDADD and 5513 _LIBADD may also list libraries. 5514 Prompted by a mail from Bruce Korb. 5515 5516 * doc/automake.texi (Alternative): Show how to rewrite nobase_ 5517 variables using custom directory variables, and link to node 5518 Uniform. Suggested by Leonardo Boiko. 5519 5520 * doc/automake.texi (Flag Variables Ordering, User Variables): 5521 Make clearer who the maintainer is, and that he can AC_SUBST AM_ 5522 variables in configure.ac. Suggested by Norman Gray. 5523 (Uniform, Public macros, Libtool Issues, Java Support, 5524 Conditionals): Use `---' for em dash, and stick them to the 5525 enclosing text. 5526 5527 * doc/automake.texi: Reword a few sentences to fix all underflow 5528 and overflow warnings during `make dvi'. 5529 (Auxiliary Programs) <configure.guess, config.sub>: Update URL. 5530 (Public macros) <AM_WITH_DMALLOC>: Likewise. 5531 55322005-02-12 Alexandre Duret-Lutz <adl@gnu.org> 5533 5534 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub, 5535 lib/texinfo.tex: New upstream versions. 5536 5537 * doc/automake.texi (Hard-Coded Install Paths): New node. 5538 (Extending, Extending aclocal, Python): Link to it. 5539 (Extending): Don't show how to install a file in /etc/ directly, 5540 this is insane. 5541 5542 * automake.in (read_am_file): Define variables containing long 5543 lines as VAR_PRETTY to work around tools with limited input width. 5544 * tests/longlin2.test: New file. 5545 * tests/Makefile.am (TESTS): Add it. 5546 Report from Albert Chin. 5547 55482005-02-09 Alexandre Duret-Lutz <adl@gnu.org> 5549 5550 Fix for PR automake/447: 5551 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d. 5552 Report from Mathias Doreille. Add some old comments from 5553 Nicolas Joly for reference. 5554 55552005-02-08 Stepan Kasal <kasal@ucw.cz> 5556 5557 * lib/mdate-sh: Check the size of the word following the month to 5558 catch Darwin. This way the filename can contain spaces. 5559 5560 * doc/automake.texi (Requirements, Options): Typos. 5561 55622005-02-08 Alexandre Duret-Lutz <adl@gnu.org> 5563 5564 * lib/missing (makeinfo): Compute the output file if neither -o 5565 nor @setfilename is used. 5566 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible. 5567 55682005-02-07 Alexandre Duret-Lutz <adl@gnu.org> 5569 5570 * doc/automake.texi (Requirements): Show one example of 5571 AC_CONFIG_FILES with multiple outputs, and correct a few typos. 5572 5573 * aclocal.in ($serial_line_rx): Expect at least one space between 5574 `serial' and the following number. 5575 Report from Jim Meyering. 5576 5577 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output. 5578 Report from Peter O'Gorman. 5579 55802005-02-06 Alexandre Duret-Lutz <adl@gnu.org> 5581 5582 * aclocal.in (usage, parse_arguments): New --dry-run and --diff 5583 options. 5584 (install_file, write_aclocal): Honor --dry-run and --diff. 5585 * doc/automake.texi (aclocal options): Document --dry-run and --diff. 5586 (Serials): Mention --diff. 5587 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an 5588 $expected_exit_code argument. 5589 (xsystem): Take a list of arguments, not a string. 5590 * tests/acloca18.test: Use --dry-run and --diff. 5591 Suggested by Paul Eggert. 5592 5593 * doc/automake.texi (aclocal options, Macro search path, 5594 Extending aclocal, Local Macros, Serials, Future of aclocal): Make 5595 these subsection of ... 5596 (Invoking aclocal): ... this. 5597 5598 * aclocal.in ($serial_line_rx): Allow trailing garbage after the 5599 serial number. 5600 (scan_file): Explicitly mark the "ill-formed serial" message 5601 as a warning. 5602 * doc/automake.texi (aclocal options, Local Macros): Link to... 5603 (Serials): ... this new section. 5604 56052005-02-02 Paul Eggert <eggert@cs.ucla.edu> 5606 5607 * lib/compile: Likewise. 5608 56092005-02-02 Alexandre Duret-Lutz <adl@gnu.org> 5610 5611 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit'; 5612 see 2004-12-17. 5613 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero 5614 status if a write failure occurs with --help or --version option, 5615 as below. 5616 56172005-02-02 Paul Eggert <eggert@cs.ucla.edu> 5618 5619 * lib/depcomp: Exit with nonzero status if a write failure occurs 5620 with --help or --version option. 5621 * lib/elisp-comp: Likewise. 5622 * lib/gnupload: Likewise. 5623 * lib/install-sh: Likewise. 5624 * lib/missing: Likewise. 5625 * lib/mkinstalldirs: Likewise. 5626 56272005-02-01 Alexandre Duret-Lutz <adl@gnu.org> 5628 5629 * doc/automake.texi (aclocal options): Typo. 5630 5631 * aclocal.in (list_compare): New functions. 5632 (scan_file): Honor #serial lines. 5633 * tests/acloca18.test: New test. 5634 * tests/Makefile.am (TESTS): Add it. 5635 * doc/automake.texi (aclocal options, Local Macros): Document 5636 #serial. 5637 56382005-01-30 Alexandre Duret-Lutz <adl@gnu.org> 5639 5640 Preliminary support for `aclocal --install'. 5641 This still lacks #serial support. 5642 * aclocal.in (reset_maps, install_file): New functions. 5643 (write_aclocal): Copy files if --install. 5644 (usage, parse_arguments): Recognize --install. 5645 ("MAIN"): Start aclocal again if some file were installed. 5646 * tests/acloca10.test: Augment to test --install. 5647 * tests/aclocal.in, tests/defs.in: Add support for 5648 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test. 5649 * doc/automake.texi (aclocal options, Local Macros): Document 5650 --install. 5651 (Future of aclocal): Adjust. 5652 5653 * doc/automake.texi (Macro search path): Using --acdir is not 5654 obvious, it's erroneous. 5655 5656 * doc/automake.texi (direntry): Let `info Automake' point to the 5657 manual, and `info automake' to the `Invoking automake' node. Like 5658 in Autoconf. 5659 56602005-01-27 Akim Demaille <akim@epita.fr> 5661 5662 * lib/Automake/Configure_ac.pm: s/filename/file_name/g. 5663 From Paul Eggert. 5664 56652005-01-24 Akim Demaille <akim@epita.fr> 5666 5667 * lib/Automake/FileUtils.pm: Rename filename as file_name to be 5668 consistent with the terminology of the GNU coding standards. 5669 From Paul Eggert. 5670 (update_file): Accept a $force argument, so that --force always 5671 updates the time stamps. 5672 56732005-01-23 Alexandre Duret-Lutz <adl@gnu.org> 5674 5675 * doc/automake.texi (How the Linker is Chosen): Explain how the 5676 linker is chosen without diagram, and update to match the code. 5677 Suggestion from Adrian Bunk. 5678 56792005-01-16 Alexandre Duret-Lutz <adl@gnu.org> 5680 5681 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)): 5682 Process all words of $MAKEFLAGS when checking for -k. 5683 * tests/check4.test: New file. 5684 * tests/Makefile.am (TESTS): Add check4.test. 5685 Report from Eric Blake. 5686 56872005-01-13 Alexandre Duret-Lutz <adl@gnu.org> 5688 5689 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to 5690 AM_INIT_AUTOMAKE if the version passed is incorrect. 5691 * tests/version8.test: New file. 5692 * tests/Makefile.am (TESTS): Add version8.test. 5693 56942005-01-09 Alexandre Duret-Lutz <adl@gnu.org> 5695 5696 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4, 5697 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4, 5698 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4, 5699 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, 5700 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4, 5701 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4, 5702 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4, 5703 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive 5704 license that is used in aclocal.m4. Relicensing backed by RMS. 5705 5706 * doc/automake.texi (A Library, LIBOBJS): Mention that empty 5707 libraries are not portable. 5708 57092005-01-05 Akim Demaille <akim@epita.fr> 5710 5711 * aclocal.in ($ac_defun_rx): Match AU_ALIAS. 5712 * tests/aclocal5.test (MORE_DEFS): Rename as... 5713 (AM_TEST): this so that undefined macros are caught. 5714 And make it an alias of AC_SUBST. 5715 Test AU_ALIAS. 5716 Reported by Martin Bravenboer. 5717 57182005-01-03 Alexandre Duret-Lutz <adl@gnu.org> 5719 5720 Fix handling of per-target flags in link rules. 5721 * automake.in (define_per_target_linker_variable): New function. 5722 (handle_programs, handle_ltlibraries): Use it. 5723 (%link_languages): New map. 5724 (register_language): Fill it. 5725 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append 5726 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by 5727 define_per_target_linker_variable if needed. 5728 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with 5729 $(%XPROGRAM%_LDFLAGS). 5730 * doc/automake.texi (Program and Library Variables): Mention 5731 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS 5732 and maude_LIBTOOLFLAGS. 5733 * tests/libtool9.test: New file. 5734 * tests/Makefile.am (TESTS): Add it. 5735 * NEWS: Explain the backward incompatibility. 5736 Report from Akim Demaille. 5737 57382005-01-01 Alexandre Duret-Lutz <adl@gnu.org> 5739 5740 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss 5741 specifications with shell variables. 5742 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to 5743 AC_CONFIG_FILES for this explanation. 5744 * automake.in (substitute_ac_subst_variables_worker, 5745 substitute_ac_subst_variables): Mew functions. 5746 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables 5747 to ignore dependencies that contain unAC_SUBSTed shell variables. 5748 (handle_configure): Likewise, do not output rules for 5749 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that 5750 unAC_SUBSTed contain shell variables. 5751 * tests/autohdr4.test: Use an AC_SUBST variable in a specification. 5752 * tests/output11.test, tests/output12.test: New files. 5753 * tests/Makefile.am (TESTS): Add output11.test and output12.test. 5754 5755 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year. 5756 * automake.in ($gen_copyright, version): Likewise. 5757 5758----- 5759 5760Copyright (C) 2005-2021 Free Software Foundation, Inc. 5761 5762Copying and distribution of this file, with or without modification, are 5763permitted provided the copyright notice and this notice are preserved. 5764 5765;; Variables: 5766;; coding: utf-8 5767;; End: 5768