Branch :
2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Use `install' with multiple files at once for some primaries. With nobase targets, at most 50 files are installed at once, to avoid quadratic string concatenation and line length limits. This isn't yet done with base targets. One hope is that there, the typical file name length is lower. If this turns out to be a problem, it should be revisited. * lib/am/inst-vars.am (am__nobase_list): New helper macro for installation of multiple nobase files at once: sorts and lists files keyed by their target directory. * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to $(install_sh_DATA) any more, not even for nobase targets. (install-%DIR%%PRIMARY%): Split base and nobase cases. Rewrite to pass lists of files which all go in the same directory to `install'. In the nobase case, make use of $(am__nobase_list) and $(MKDIR_P) each directory before populating it. Take care of files in source and build trees, and avoid creating directories where no files are to be installed. * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise. (install-%DIR%LIBRARIES): Likewise. * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise. (install-%DIR%PYTHON): Likewise. Also take care to keep note of a list for byte compilation after installation. * lib/am/texinfos.am (install-dvi-am, install-html-am) (install-info-am, install-pdf-am, install-ps-am): Use file lists to install multiple files at once. * NEWS: Update. Suggested by Akim Demaille. 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Require unreleased Autoconf for fixed AC_PROG_INSTALL. * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341, regenerate files. * configure.ac: Also require Autoconf 2.61-341, to catch failure early and provide a sensible error message. Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT. * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT. * tests/ansi6.test: Likewise. * tests/ansi7.test: Likewise. * tests/condlib.test: Likewise. * tests/cygwin32.test: Likewise. * tests/exeext2.test: Likewise. * tests/libobj11.test: Likewise. * tests/library.test: Likewise. * tests/txinfo5.test: Likewise. 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Skip instsh3.test if `touch -t' does not work. * tests/instsh3.test: Test for `touch -t', fails with Solaris /usr/ucb/touch. * THANKS: Update. Report by Younes Younes. 2008-02-27 Reuben Thomas <rrt@sc3d.org> * doc/automake.texi (wildcards): Improve "Why doesn't Automake support wildcards" node's English and sense. 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * lib/am/check.am (check-TESTS): In the case patterns for XFAILed tests, add literal bracket expression for matching whitespace, as NetBSD 4.99.54 ksh does not understand a bracket expression resulting from variable expansion. * README: Explain how to run the Automake test suite, including setting MAKE to test gmake. Report by Patrick Welche. 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> PR automake/498 * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of obsolete AC_FOREACH. Report by NightStrike and gurganbl@rose-hulman.edu. 2008-02-17 Colin Watson <cjwatson@debian.org> (tiny change) * lib/am/tags.am (ID): Fix typo in workaround for old awk. 2008-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * doc/.gitignore: Ignore files generated by `make ps pdf html'. 2008-02-05 Reuben Thomas <rrt@sc3d.org> * doc/automake.texi (CVS): configure.ac will appear newer, not older, than configure. Use `lexical' instead of `alphabetical'. 2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * tests/man3.test: Avoid `make VAR=value'. * tests/subst3.test: New test. * tests/Makefile.am: Update. * tests/instsh2.test: Split off testing of `install-sh -C' ... * tests/instsh3.test: ... to this new test, requiring non-root. * tests/Makefile.am: Adjust. * THANKS: Update. Report by Theodoros V. Kalamatianos. 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * tests/nobase.test: Extend test to generated files. * tests/nobase-python.test: New test, nobase for python files. * tests/Makefile.am: Update. * tests/nobase.test: Split off libtool part of nobase.test for increased test exposure, to ... * tests/nobase-libtool.test: ... this new test. * tests/Makefile.am: Update. 2008-01-23 Eric Blake <ebb9@byu.net> Fix color.test when using BSD grep. * tests/color.test: Ensure that grep can handle non-printing characters. 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * tests/lisp3.test: Fix typo. 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages over distributed ones. Report and patch by Peter Breitenlohner. * tests/man3.test: New test. * tests/Makefile.am: Update. 2008-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * tests/tar.test: Skip if no appropriate tar was found. 2008-01-19 NightStrike <nightstrike@gmail.com> * doc/automake.texi (Dependency Tracking): Fix typo. 2008-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * lib/config-ml.in, lib/config.guess, lib/config.sub, lib/symlink-tree: Sync from upstream. * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO. (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New. (fetch): Update to match current upstream locations. 2008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * doc/automake.texi (DESTDIR, Built sources example): Fix wording. * THANKS: Update. Reports and suggestions by William Pursell and nightstrike@gmail.com. 2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Do not fail if `autoupdate' is not present. * tests/obsolete.test: Check for presence of autoupdate. Apparently, FreeBSD may install the other Autoconf programs without a version suffix but not autoupdate. Fix Heisenbug trying to unset a sometimes-not-set variable. * tests/check5.test: Do not error out upon `unset TESTS' due to `set -e', in case TESTS was not set. * tests/color.test: Likewise. * doc/automake.texi (amhello Explained): Fix odd sentence. Report by nightstrike@gmail.com. 2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more resistant to different quoting styles of $1. Clarify texinfo.tex and TEXINFO_TEX semantics. * doc/automake.texi (Texinfo): Clarify that by default, texinfo.tex is searched in the same directory as the Makefile.am that needs it. Clarify that TEXINFO_TEX has precedence over AC_CONFIG_AUX_DIR, and that it requires the user to install and distribute it. * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed. * THANKS: Update. Reports by Dilyan Palauzov and Roumen Petrov. 2008-01-11 Bruno Haible <bruno@clisp.org> Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * tests/output-order.test: New test, for the stable output fix. * tests/Makefile.am: Update. 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * Makefile.am (dist-hook): New, ensure world-executable tests. * THANKS: Update. Report by Arto C. Nirkko. * tests/acloca20.test: Use `--force' with the second $AUTOCONF, to force update on fast machines where both autoconf invocations happen within the same second. Report by Greg Schafer. 2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * automake.in (scan_autoconf_files): Sort loop over %required_aux_file, for stable verbose output. Report by Bruno Haible. * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from upstream. * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o, to avoid matching for example `LDFLAGS=-Wl,--sort-common'. * THANKS: Update. Report and analysis by Carsten Lohrke and Mike Frysinger. 2008-01-07 Stepan Kasal <skasal@redhat.com> * automake.in (handle_texinfo_helper, handle_lib_objects): Fix typos in comments. 2008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Bump copyright years. * aclocal.in (write_aclocal, version): Likewise. * automake.in ($gen_copyright, version): Likewise. * doc/automake.texi: Likewise. 2007-12-18 Jim Meyering <meyering@redhat.com> * lib/gnupload (GPG): Don't use an absolute path. This reverts part of the 2004-01-28 change. 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * lib/Automake/FileUtils.pm (open_quote): New function. (update_file, contents): Use it. Reword the copyright notices to match what's suggested in GPLv3. 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext tests if the absolute source or build tree name contain whitespace. Modify some tests for absolute trees containing whitespace. * tests/missing.test: Use "./missing" instead of "`pwd`/missing". * tests/missing2.test: Likewise. * tests/mmodely.test: Add `pwd` to $PATH instead of absolute references to myyacc.sh and mylex.sh. * tests/multlib.test: Likewise for mycc. * tests/txinfo26.test: Skip if `pwd` contains whitespace, as an absolute --srcdir does not work there. * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from upstream. Fix the distdir target to cope with spaces in absolute file names. * lib/am/distdir.am: Quote all instances of $(distdir) and $(top_distdir). They could contain white space, coming from a toplevel package bootstrapped with an older Automake version. (am__relativize): New macro, taken from gnulib code, written by Bruno Haible. (distdir): Use it to compute relative paths to distdir and top_distdir for enclosed subpackages. Also, quote $(distuninstallcheck_dir). * lib/am/texinfos.am: Likewise, quote $(distdir). 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Quote file names in tests that can be absolute. * tests/auxdir.test, tests/check3.test, tests/check4.test, tests/compile.test, tests/cond33.test, tests/condhook.test, tests/distdir.test, tests/dollar.test, tests/empty.test, tests/gnits2.test, tests/gnits3.test, tests/include2.test, tests/insthook.test, tests/java.test, tests/libtool7.test, tests/lisp4.test, tests/lisp5.test, tests/lisp6.test, tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test, tests/multlib.test, tests/nobase.test, tests/nodist2.test, tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test, tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test, tests/python3.test, tests/strip.test, tests/transform.test, tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test, tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test: Likewise. Quote @abs_top_builddir@ and @abs_top_srcdir@. * tests/aclocal.in: Likewise. * tests/automake.in: Likewise. Fix TAGS and GTAGS rules to cope with whitespace in `pwd`. * lib/am/tags.am (TAGS): Use positional parameters to avoid the need to quote absolute file names. (GTAGS): Quote absolute file name. (CTAGS): Simplify, dropping unused variable `$tags'. 2007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance of am__strip_dir. Fixes nobase and pr300-ltlib test failures. 2007-11-25 Akim Demaille <akim@lrde.epita.fr> Several *-local in a rule do not work. * tests/all.test: Check this case. Use set -e. * tests/Makefile.am (XFAIL_TESTS): Add it. 2007-11-25 Akim Demaille <akim@lrde.epita.fr> Fix uses of am__strip_dir. * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of definition of am__strip_dir. 2007-11-25 Akim Demaille <akim@lrde.epita.fr> Define and use register_action. * lib/Automake/Rule.pm: Fix a few typos in the doc. (&rule): Use || to simplify the code. (®ister_action): New. Export it. * automake.in (&handle_factored_dependencies, &file_contents_internal): Use it. 2007-11-25 Akim Demaille <akim@lrde.epita.fr> * bootstrap: Fix typos on redirections. 2007-11-24 Akim Demaille <akim@lrde.epita.fr> Skip comments and empty lines in dirlist in the tests. * defs.in (extra_includes): Skip comments and empty lines in dirlist. 2007-11-24 Akim Demaille <akim@lrde.epita.fr> Ternary operator in lib/am files. * automake.in (&transform_token): New. (&transform): Use it. Support %KEY?TRUE:FALSE%. (&make_paragraphs): Adjust the regexp to call %transform. * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am, * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am: Use %KEY?TRUE:FALSE%. * lib/am/inst-vars.am (am__strip_dir): Assign the result to f to be more alike am__vpath_adj. Adjust dependencies. 2007-11-24 Akim Demaille <demaille@gostai.com> * automake.in: Normalize white spaces. 2007-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding rules, if the absolute build directory name contains white space. 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.in (trace_used_macros): Quote input files. * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`. * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again. (CTAGS): Drop unneeded variable `here'. 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * tests/output13.test: New test. * tests/Makefile.am: Adjust. Prompted by report from Bruno Haible in <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>. Fix signal handling in aclocal. * aclocal.in (unlink_tmp): If invoked by a signal, note so in verbose mode. Reinstall default signal handler and reraise, to transport the interrupt information. 2007-11-13 Bob Proulx <bob@proulx.com> Fix color test failure on dumb (and other) terminals. * tests/color.test: Set TERM to `ansi'. 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Avoid spurious test failure with `make check TESTS=check5.test'. * tests/check5.test: unset TESTS. Fix maintainer-check failure. * tests/color.test: unset TESTS, use `make -e' rather than `make MACRO=val'. 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a. * automake.in (handle_tests): Remove debugging leftover. Run each test in a process-private subdirectory. * tests/defs.in: Employ a trap to clean up at the end of the test in case the test succeeded. This needs to be revisited because we would like to keep the output of XPASSing tests. Also, note when we were interrupted by a signal. Code taken from Autoconf's _AC_INIT_PREPARE. If $keep_testdirs is set, keep them even for successful tests. * tests/Makefile.am (check-clean-local): New target. Remove all tests subdirs, but also make them writable first. The latter was already needed without per-test subdirs. (distclean-local): Depend upon check-clean-local. * tests/Makefile.in: Regenerate. * tests/.cvsignore, tests/.gitignore: Adjust. Fix default includes ordering to be `-I. -I$(srcdir) ...' again. * automake.in (handle_compile): Put -I$(srcdir) before include paths for config headers, as was done before Automake 1.10, but keep uniquified list without multiple adjacent spaces. * doc/automake.texi (Program variables): List include paths in order. * NEWS: Mention 1.10 regression. * tests/stdinc.test: New test. * tests/Makefile.am: Adjust. * THANKS: Update. Report by Kent Boortz. 2007-11-08 Akim Demaille <akim@lrde.epita.fr> Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Bob Proulx <bob@proulx.com> Implement colorized test output. * automake.in (handle_tests): Set COLOR depending on `color-tests'. * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'. * doc/automake.texi (Tests, Options): Document test results, document new option, document AM_COLOR_TESTS. * lib/Automake/Options.pm (_process_option_list): Handle it. * lib/am/check.am (am__tty_colors): New variable. Enable colored output if TERM is not dumb and depending on AM_COLOR_TESTS and whether stdout is connected to a terminal. (check-TESTS): Use am__tty_colors. * NEWS: Mention color-tests. * tests/color.test: New test. * tests/Makefile.am: Adjust. 2007-11-08 NightStrike <nightstrike@gmail.com> (tiny change) For PR automake/526: * doc/automake.texi (Basic Installation): Fix typo. 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Accommodate for new macro AC_AUTOCONF_VERSION. * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather than m4_PACKAGE_VERSION. Define the former if not defined. * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise. * tests/missing4.test: Use AC_AUTOCONF_VERSION. 2007-10-29 Bruno Haible <bruno@clisp.org> * doc/automake.texi (Program variables): Clarify that Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but passes it directly to compilation commands. 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Move to git as primary source repository. * Makefile.am (git-dist, git-release): Renamed and adjusted from ... (cvs-dist, cvs-release): ... these. (git-diff): New target, taken and adjusted from cvs-diff. * Makefile.in: Regenerate. * bootstrap: Adjust. * NEWS: Announce change. * doc/automake.texi (General Operation): cvs-dist is git-dist now. (Timeline): Mention change. 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * automake.in: Treat extension .sx also like preprocessed assembler (.S), following GCC. * NEWS: Update. * doc/automake.texi (Assembly Support): Adjust. * tests/asm3.test: New test. * tests/Makefile.am: Update. 2007-10-09 Jim Meyering <meyering@redhat.com> Add lzma compression support. * NEWS: Mention it. * automake.in (handle_dist): Recognize dist-lzma. (make_paragraphs): Map LZMA to dist-lzma. * doc/automake.texi (Dist): Add dist-lzma. (Options): Likewise. * lib/Automake/Options.pm (_process_option_list): (dist dist-all): Add command to create an lzma-compressed tarball. (distcheck): Handle lzma-compressed tarballs just like the others. * tests/defs.in: Test for lzma, too. * tests/lzma.test: New file, based on nogzip.test. * tests/Makefile.am (TESTS): Add lzma.test. Suggestion from Karl Berry. 2007-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * automake.in (TARGET_PATTERN): Allow leading digit. * tests/exeext3.test: Adjust to expose this. Report by Claudio Fontana and Laurence Finston. 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * tests/defs.in (required): For gcj, check whether `gcj -v' works, to avoid broken installations without libgcj.spec. Export $GCJ. * tests/gcj4.test: Setting GCJ not needed any more. * THANKS: Update. Report by Jesse Chisholm. 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * lib/config-ml.in, lib/config.guess, lib/config.sub, lib/symlink-tree, lib/texinfo.tex: New upstream versions. 2007-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * doc/automake.texi (gettext): Fix link to gettext manual. 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> In ChangeLog files, use more-permissive notice rather than GPL, as per usual GNU standards these days. 2007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * automake.in (handle_programs): Also clean .libs/_libs directory for _PROGRAMS. * tests/libtoo10.test: New test. * tests/Makefile.am: Update. * THANKS: Update. Report by Guillermo Onta