ChangeLog


Log

Author Commit Date CI Message
Ralf Wildenhues d8efaeb3 2008-10-22T21:21:55 Let stderr output end up on fd 2 in testsuite. * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file descriptor 2. * tests/getopt.test: Fix erroneous multiple redirection, uncovered by above change. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues c15d9a8e 2008-10-19T19:54:12 Fix DisjConditions module to be thread-safe for perl >= 5.7.2. Self-hashes of blessed references are not correctly transported through thread creation. This patch fixes that by recreating the hashes upon thread creation with a CLONE special subroutine, which is automatically invoked by new enough Perl versions. * lib/Automake/DisjConditions.pm (CLONE): New special subroutine to fix self hashes upon thread creation. * lib/Automake/tests/Condition-t.pl: New, sister test to Condition.pl, but spawns a new threads after each creation of a new condition; skip test if perl is too old or ithreads are not available. * lib/Automake/tests/DisjConditions-t.pl: Likewise. * lib/Automake/tests/Makefile.am (TESTS): Add them. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues b6af2140 2008-10-18T11:09:14 Fix comment typos. * automake.in (require_file_internal): Fix typos in comments. * m4/amversion.in: Likewise. * lib/Automake/Variable.pm: Likewise. * lib/Automake/XFile.pm: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues b9cf117b 2008-10-18T10:08:15 Diagnose unsupported uses of `backname' helper function. * automake.in (backname): Error out if the path points outside the directory it started in. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 9c0bda62 2008-10-12T22:22:39 Nicer 'make dist' output. * lib/am/distdir.am (distdir): Hide the complex script used for computing the relative subdirs; echo the sub-make command. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
William Pursell e7af73ee 2008-10-12T22:13:39 * tests/defs.in: Fix comment typo. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
William Pursell 8f126edc 2008-10-12T21:51:18 Fix grammar w.r.t. plurals in test reports. * lib/am/check.am: Fix singular/plural forms in test reports. * tests/check10.test: New test. * tests/Makefile.am: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues ac378dba 2008-10-08T23:25:11 Require texi2dvi in tests, makeinfo may not be enough. * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in separate packages, so also list the latter as required, as the test generates DVI and/or PDF output (through distcheck). * tests/txinfo18.test: Likewise. * tests/txinfo21.test: Likewise. * tests/txinfo22.test: Likewise. * tests/txinfo3.test: Likewise. * tests/version7.test: Likewise. * THANKS: Update. Report by Alexander Martens. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 732cae8f 2008-10-08T07:49:18 Fix bootstrap to remove read-only directories right. * bootstrap: Remove automake-$APIVERSION correctly. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 2e31cbb7 2008-10-06T22:46:57 Improve test coverage of current TESTS semantics. * tests/check8.test: New test, for subdir tests and setting of $srcdir. * tests/check9.test: New test, check @substituted@ TESTS. * tests/Makefile.am: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 26f02984 2008-10-05T21:49:32 Work around AIX sh quoting issue in AC_PROG_CC_C_O. * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue with AIX sh; fixes depcomp6.test failure. * NEWS, THANKS: Update. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 26f7cb7a 2008-10-05T21:24:32 Print captured output before failing. * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test, tests/aclocal.test, tests/acsilent.test, tests/alpha.test, tests/check4.test, tests/color.test, tests/fn99.test, tests/fn99subdir.test, tests/help.test, tests/init.test, tests/lisp8.test, tests/missing3.test, tests/pr220.test, tests/python11.test, tests/python4.test, tests/python5.test, tests/unused.test, tests/version8.test: When Exit is called after a command that has stdout or stderr redirected to a file for later inspection, output the file before failing the test. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 2205fc65 2008-10-05T21:15:25 Fix some comment typos. * automake.in: Fix some comment typos. * lib/Automake/Condition.pm: Likewise. * lib/Automake/DisjConditions.pm: Likewise. * lib/Automake/Variable.pm: Likewise. * lib/Automake/tests/DisjConditions.pl: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues e4028ae2 2008-09-22T23:03:02 * tests/aclibobj.test: Fix race condition. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 389a0282 2008-09-21T04:25:04 Fix man page creation without installed files. * doc/Makefile.am (update_mans): Use wrappers in tests/ directory. ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as input program to help2man. ($(srcdir)/automake-$(APIVERSION).1): Likewise. Report by Eric Blake. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 4792c5df 2008-09-20T17:33:29 Remove unneeded per-rule *INSTALL variables. * NEWS: Update. * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove. (install-%DIR%%PRIMARY%): Adjust. * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove. (install-%DIR%LIBRARIES): Adjust. * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove. (install-%DIR%LTLIBRARIES): Adjust. * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove. (install-%DIR%PROGRAMS): Adjust. * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove. (install-%DIR%PYTHON): Adjust. * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove. (install-%DIR%SCRIPTS): Adjust. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 91d9d817 2008-09-20T15:38:26 Compactify program rules using ternary operators. * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify using ternary operators `%KEY?TRUE:FALSE%'. (uninstall-%DIR%PROGRAMS): Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues c1ec86b2 2008-09-20T14:27:10 New doc section about command line length limits. * doc/automake.texi (Length limitations): New node. (Alternative): `nobase_' is not always equivalent to several base variables. (Install): Mention multi-file install. * NEWS: Expand on the issue, list some more user-visible consequences. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues e5c37270 2008-09-20T13:02:23 Install nobase_lib_LTLIBRARIES before bin_PROGRAMS. * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are used, add an ugly hack to install them before bin_PROGRAMS, just like done with lib_LTLIBRARIES. * tests/ltorder.test: Add program, to expose this. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues e8ec58ac 2008-09-20T12:30:48 Do not reorder nobase ltlib installation. This patch changes back the order of installation of nobase LTLIBRARIES to that in which files are listed in the variables. It does not fix the issue of strict dependency ordering, as implied by *_LIBADD, but as before allows to steer the order by listing the libraries in nobase_*_LTLIBRARIES appropriately. As an advantage over the state of 1.10, multiple consecutive nobase libraries to be installed in the same directory are passed to libtool in one invocation. * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not reorder libraries upon installation. Remove spurious empty line. * tests/ltorder.test: New test. * tests/Makefile.am: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues bbedcb43 2008-09-20T12:12:42 Fix -rpath arguments for nobase_*_LTLIBRARIES. * automake.in (handle_ltlibraries): New hash %instsubdirs to track the dirname of nobase ltlibraries, and tack it onto the end of the -rpath argument. Also, fix the warning about ltlibs installed in multiple locations to fit a bit better. * tests/pr300-ltlib.test: Expose this bug here. * tests/ltinstloc.test: New test. * tests/Makefile.am: Update. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues e3209619 2008-09-20T11:42:31 Man pages for automake and aclocal. * configure.ac (HELP2MAN): New substitution. * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES) (update_mans): New macros. ($(srcdir)/aclocal-$(APIVERSION).1) ($(srcdir)/automake-$(APIVERSION).1): New rules, generate man pages from the command line help with help2man. ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for `.so' man page links to the versioned pages. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 7726a26a 2008-09-13T09:32:13 Faster install for libtool outputs. * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool --mode=install' with multiple libraries at once. (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more. * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much of the libtool special-casing by invoking it for multiple programs at once. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues ca414ef9 2008-09-07T11:10:26 Fast install and uninstall for SCRIPTS. * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am independent of `%?BASE%'. (install-%DIR%SCRIPTS): Install multiple scripts at once, using awk and a number of sed scripts. (uninstall-%DIR%SCRIPTS): Compute the installed names, and remove them, all at once. (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any more. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 4295fe33 2008-09-07T10:56:19 Multi-file install for PROGRAMS. * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install several programs with one install invocation, when not using libtool; employs some trickery to cater for nobase_, $(EXEEXT), create needed directories, libtool, while only forking a constant number of times in the fast path; uses awk and sed also in the default path. (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any more. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 8c9f415b 2008-09-07T10:43:33 Enhance cleaning of programs in libtool mode. * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less often, avoid removing programs twice if $(EXEEXT) is empty. * tests/nobase-libtool.test: Also test PROGRAMS, in order to exercise the code path. * THANKS: Update. Report by Toralf Förster. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 2cfd4806 2008-09-07T09:59:52 Reliable multi-file install for man pages. * lib/am/mans.am: Include inst-vars.am. (install-man%SECTION%): Gather lists of man pages to install, and install up to 40 of those that do not have to be renamed at once. Fail if installation of any file fails. (uninstall-man%SECTION%): Rewrite to use fewer sed invocations. * doc/automake.texi (Man pages): Hint the user to the fast path. Indentation fix. * tests/instmany-mans.test: New test. * tests/Makefile.am: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 7c02797d 2008-09-07T09:25:02 Faster `make uninstall'; fast install for JAVA. * lib/am/inst-vars.am (am__nobase_strip_setup) (am__nobase_strip): New macros. (am__nobase_list): Factorize. * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a constant number of forks per uninstall. * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise. * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise. * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall. * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall. Echo all `rm' commands that are are executed. * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Fast install and uninstall. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues f4d1f9e2 2008-09-07T09:11:34 AIX ranlib dislikes spaces in the argument. * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test failure on AIX due to ranlib and whitespace in the directory. * THANKS: Update. Report by John F Trudeau. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 120031b8 2008-09-07T08:42:47 Fail upon install or ranlib failure, part two. * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure. * lib/am/lisp.am (install-%DIR%LISP): Likewise. * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise. * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for `install' as well as `ranlib'. * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails, return its exit failure, not 1. * tests/instfail.test: New test, for PROGRAMS (without libtool), LIBRARIES, including nobase variants. * tests/instfail-info.test: Likewise, for TEXINFOS. * tests/instfail-java.test: Likewise, for JAVA. * tests/instfail-libtool.test: Likewise, for PROGRAMS (with libtool) and LTLIBRARIES. * tests/Makefile.am: Adjust. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 196abe9a 2008-09-07T00:43:38 Exit upon `install' failure, part one. * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install command fails. * lib/am/python.am (install-%DIR%PYTHON): Likewise. * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise. * lib/am/texinfos.am (install-dvi-am, install-html-am) (install-info-am:, install-pdf-am): Likewise. * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS. * tests/instmany-python.test: New test, for PYTHON. * tests/Makefile.am: Adjust. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 92a09f69 2008-09-06T23:40:34 Fix multi-file installation for files in srcdir. For files that can live in the build tree or the source tree, we have to expect that prepending `$(srcdir)/' to each name will let the install command line exceed length limitations. Thus use a new macro, $(am__base_list), to install in chunks of 40 files, similar to what we do for nobase_* files. There, lower the limit to 40, too. * lib/am/inst-vars.am (am__install_max): Lower to 40. (am__base_list): New macro. * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it. * lib/am/texinfos.am (install-dvi-am, install-html-am) (install-info-am, install-pdf-am, install-ps-am): Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 20594c08 2008-09-06T19:20:32 Use `Exit' instead of `exit' in test suite. Cater to Bourne shells like Solaris sh that do not pass the `exit' argument as status to the cleanup trap. * Makefile.am (maintainer-check): Check that here-documents use only `END' or `EOF' as delimiter in the test suite. Check that, outside of here-documents, the tests do not use `exit' with an argument, but use `Exit' instead. * tests/defs.in (Exit): New function. Use it throughout, starting with the introduction of the exit trap. * tests/*.test: Use `Exit $arg' instead of `exit $arg' throughout, except inside created files. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues c327d0d3 2008-09-04T22:13:36 Avoid Heisenbug with verbose testing on HP-UX. * tests/output-order.test: Remove spurious redirection line from output for comparison. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 1fb0f1ce 2008-09-04T22:04:37 For all possibly-relative subdirs, use $(am__cd). Up to now, $(am__cd) was only used within backquotes, to avoid extraneous output. This patch also uses it for every `cd' to a relative subdir, to prevent CDPATH from entering an unwanted directory. * Makefile.am (maintainer-check): Fix current check for $(am__cd) within backquotes a bit. Add new check for `cd' to a relative subdir. * automake.in (handle_tags, handle_configure): Adjust rules. * lib/am/ansi2knr.am: Likewise. * lib/am/configure.am: Likewise. * lib/am/distdir.am: Likewise. * lib/am/remake-hdr.am: Likewise. * lib/am/subdirs.am: Likewise. * lib/am/tags.am: Likewise. * lib/am/texibuild.am: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 01d84fa0 2008-09-04T21:52:29 Fix nobase-python.test for BSD make. * tests/nobase-python.test: Listing a dependency to be found via VPATH search explicitly, without the path, as a target, will turn off VPATH search for FreeBSD make. So move the creation of the files outside of the Makefile. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 861c1985 2008-09-01T20:29:58 Implement AM_MAINTAINER_MODE([DEFAULT-MODE]). * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional first argument of `enable' or `disable', setting the default. * doc/automake.texi (Optional, maintainer-mode): Document. * tests/mmode.test: New test. * tests/Makefile.am: Adjust. * NEWS: Update. Suggestion by Vincent Lefevre. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues d6c6e48d 2008-08-31T08:23:24 Copyright year updates. * lib/am/header-vars.am: Update copyright years. * lib/am/remake-hdr.am: Likewise. * lib/am/tags.am: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 12321c51 2008-08-28T20:31:37 * THANKS: Use Cyrillic name instead of ASCII transcription. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 7456aefd 2008-08-22T13:19:04 Fix rebuilding of removed subdir/Makefile.in files. * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If subdir/Makefile.in was removed, am--refresh would not update it. Fix up for it by running the per-directory rebuild rule. * tests/remake6.test, tests/remake6.test: New tests. * tests/Makefile.am: Adjust. * NEWS, THANKS: Update. Report and initial patch by Ilya N. Golubev. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues f9cee424 2008-08-19T23:20:32 * tests/notrans.test: Use multiple man files of each type. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues bdae563c 2008-08-19T23:03:57 Fix maintainer-check failures. * doc/automake.texi (Conditionals): Drop TAB. * tests/missing6.test: Use 'rm -f'. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Reuben Thomas 8ed62646 2008-08-19T22:53:32 Fix grammaros. * doc/automake.texi (Flag Variables Ordering, Per-Object Flags): Fix grammaros. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Karl Berry 079bca21 2008-08-02T11:41:23 * lib/gnupload: Provide also a simple example. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Thien-Thi Nguyen 067bd5fc 2008-06-25T06:13:44 Small doc fix * doc/automake.texi (Public Macros): Close open paren. Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org>
Ralf Wildenhues 63316731 2008-06-18T00:37:42 Introduce macro $(am__mv) to facilitate 'libtool --dry-run'. * lib/am/depend.am (am__mv): New macro, set to 'mv -f'. * lib/am/depend2.am: Use throughout to move the temporary depfile *.Tpo to its final destination *.Po. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 397c6faa 2008-06-18T00:37:17 Fix ChangeLog entry.
Rafael Espindola 0c63a75d 2008-06-18T00:21:56 * config-ml.in: don't handle --enable-shared and --enable-static. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 24abcf7f 2008-06-18T00:19:16 New variable am__install_max. * lib/am/inst-vars.am (am__install_max): New variable. (am__nobase_list): Use it. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 441ec0a6 2008-06-18T00:16:25 Fix conditional rules competing with config.status rules. * automake.in (handle_configure): Teach targets about the conditional config.status rule. * tests/cond39.test: Adjust test to expose this. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 30105086 2008-06-18T00:11:36 For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build. * automake.in (rewrite_inputs_into_dependencies): Do distribute inputs where input and output name are equal. This relies on the assumption that it only happens with AC_CONFIG_LINKS. (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for links where source and dest are equal. * lib/am/clean.am (distclean-generic): Remove, if build tree not equal source tree. * tests/conflnk4.test: New test. * tests/Makefile.am: Adjust. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 05e1662d 2008-06-06T07:53:17 Fix ambivalent wording introduced with last patch. * doc/automake.texi (Extending): Fix ambivalent wording. Report by Ben Pfaff. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Karl Berry 0480a4d3 2008-06-04T20:45:56 Improve description of -local and -hook targets. * doc/automake.texi (Install, Hard-Coded Install Paths): Fix punctuation and markup. (Extending): Improve wording and clarify order semantics of *-local and *-hook targets. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 64af2b84 2008-06-01T10:06:59 Fix grammar error in manual. * doc/automake.texi (Extending): Fix grammar. Report by Karl Berry. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Stepan Kasal 5df87ac9 2008-05-13T14:46:39 Fix typos. * doc/automake.texi (Timeline): Reported by Reuben Thomas. * lib/am/remake-hdr.am: A few typos in comments. Signed-off-by: Stepan Kasal <skasal@redhat.com>
Eric Blake ced75497 2008-04-10T16:47:55 Prefer a released version of autoconf. * NEWS: Bump requirement to autoconf 2.62. * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise. * configure.ac: Likewise. (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 680877cc 2008-04-10T09:51:23 AC_AUTOCONF_VERSION can inadvertently expand to a macro name. * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper m4 quoting. * aclocal.in (write_aclocal): Likewise. * tests/missing6.test: New test. * tests/Makefile.am (TESTS): Run it. * tests/missing4.test: Adjust. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake e5c291c5 2008-04-02T13:43:56 Make gnupload friendlier for VPATH usage. * lib/gnupload: Allow uploads from separate directory. Signed-off-by: Eric Blake <ebb9@byu.net>
Ralf Wildenhues e19a2988 2008-03-26T07:00:44 Implement conditional AC_CONFIG_FILES: AM_COND_IF. * automake.in (%ac_config_files_condition): New. (scan_autoconf_config_files): Record condition if any. (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF, updating @cond_stack as appropriate. (handle_configure): Prefix config.status rule with condition. Check that m4 quotation is done consistently. * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name' with `name' being the name of the condition, to its shell condition. * m4/cond-if.m4: New file. (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers. (AM_COND_IF): New macro, implements conditionals. * m4/Makefile.am: Adjust. * doc/automake.texi (Requirements, Optional, Conditionals): Document AM_COND_IF. * NEWS: Update. * tests/cond39.test, tests/cond40.test, tests/cond41.test, tests/cond42.test, tests/cond43.test: New tests. * tests/Makefile.am: Adjust. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues bfb84649 2008-03-24T12:03:54 Introduce @ovar from Autoconf. * doc/automake.texi (@ovar): New macro, from autoconf.texi. (Python): Use it. Suggestion by Eric Blake. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 8ee74cb8 2008-03-20T20:04:09 * lib/texinfo.tex: Sync from upstream. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 8b236d9b 2008-03-17T07:14:29 Fix nits in the manual. * doc/automake.texi (Requirements, Linking, Extending): Fix underfull and overfull lines, fix wording a bit. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues fb3a7312 2008-03-17T07:09:45 Sync auxiliary files from upstream. * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from upstream. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 4c58979d 2008-03-17T07:07:58 Pull config.guess and config.sub from upstream git repo now. * Makefile.am (WGET_SV_GIT_CF): New. (fetch): Pull config.guess and config.sub from git repo now. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues ab4f8d32 2008-03-17T06:49:44 New function xsystem_hint, for autoreconf. * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument $hint, show if the executing program does not exist. (xsystem_hint): New function, like xsystem but allows to pass a hint. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Peter Breitenlohner f2eadff6 2008-03-11T22:26:27 Implement the `notrans_' prefix for untransformed manpages. * automake.in (handle_man_pages), lib/am/mans.am: Implement notrans_ prefix for MANS primary and rework dependencies for install-man%SECTION%; use only vars defined in Makefile.am. * doc/automake.texi (Renaming, Uniform, Man pages): Document notrans_ prefix. * NEWS: Update. * tests/notrans.test: New test. * tests/Makefile.am: Update.
Peter Breitenlohner fafa6170 2008-03-11T22:08:42 * automake.in (handle_man_pages): Reindent, for next patch.
Ralf Wildenhues 2139f25b 2008-03-08T13:58:18 Exploit `install' with multiple files at once for some file types. 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 8aad9804 2008-03-08T13:35:05 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues e1435cc7 2008-03-08T13:16:03 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 54906084 2008-03-03T23:02:58 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.
Reuben Thomas 10386c65 2008-02-27T07:53:02 * doc/automake.texi (wildcards): Improve "Why doesn't Automake support wildcards" node's English and sense.
Ralf Wildenhues 6489b1bc 2008-02-23T10:47:20 Fix XFAIL_TESTS matching for NetBSD ksh. * 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.
Ralf Wildenhues 2fd5b099 2008-02-19T22:15:03 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.
Colin Watson 408b7330 2008-02-17T19:07:32 * lib/am/tags.am (ID): Fix typo in workaround for old awk.
Ralf Wildenhues 810007e1 2008-02-05T21:05:57 * doc/.gitignore: Ignore files generated by `make ps pdf html'.
Reuben Thomas 553f8029 2008-02-05T21:02:45 Fix minor doc issues in node `CVS'. * doc/automake.texi (CVS): configure.ac will appear newer, not older, than configure. Use `lexical' instead of `alphabetical'.
Ralf Wildenhues 3b25a0c9 2008-01-30T21:59:27 * tests/man3.test: Avoid `make VAR=value'.
Ralf Wildenhues 08b71d93 2008-01-30T21:40:57 * tests/subst3.test: New test. * tests/Makefile.am: Update.
Ralf Wildenhues eed74334 2008-01-30T21:23:16 Split instsh2.test, so that only the new part requires non-root. * 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.
Ralf Wildenhues 03f753d3 2008-01-23T23:42:07 * tests/nobase.test: Extend test to generated files.
Ralf Wildenhues 56de7b55 2008-01-23T23:40:57 New test nobase-python.test. * tests/nobase-python.test: New test, nobase for python files. * tests/Makefile.am: Update.
Ralf Wildenhues 4fff4f3c 2008-01-23T23:38:34 Split libtool part off of nobase.test. * 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.
Eric Blake ce864ac1 2008-01-23T10:03:58 Fix color.test when using BSD grep. * tests/color.test: Ensure that grep can handle non-printing characters. Signed-off-by: Eric Blake <ebb9@byu.net>
Ralf Wildenhues da88206c 2008-01-23T07:50:28 * tests/lisp3.test: Fix typo.
Ralf Wildenhues 56c41c99 2008-01-22T23:35:57 Prefer generated manpages over distributed ones. * 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.
Ralf Wildenhues 379e37ea 2008-01-21T22:51:03 * tests/tar.test: Skip if no appropriate tar was found.
NightStrike 59dbd8ff 2008-01-19T10:58:06 * doc/automake.texi (Dependency Tracking): Fix typo.
Ralf Wildenhues 76c6582c 2008-01-19T10:51:25 * lib/config-ml.in, lib/config.guess, lib/config.sub, lib/symlink-tree: Sync from upstream.
Ralf Wildenhues fa3c19a2 2007-12-08T11:06:03 Fix `fetch' target to match current upstream locations. * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 74e58c6e 2008-01-14T22:42:33 * doc/automake.texi (DESTDIR, Built sources example): Fix wording. * THANKS: Update. Reports and suggestions by William Pursell and nightstrike@gmail.com.
Ralf Wildenhues 1cffd11e 2008-01-13T18:05:44 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.
Ralf Wildenhues 74dc9992 2008-01-13T18:05:04 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.
Ralf Wildenhues 16ef9da6 2008-01-13T18:04:16 * doc/automake.texi (amhello Explained): Fix odd sentence. Report by nightstrike@gmail.com.
Ralf Wildenhues d4b81e60 2008-01-12T15:33:06 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more resistant to different quoting styles of $1.
Ralf Wildenhues 541518fe 2008-01-10T20:49:07 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.
Ralf Wildenhues 99d18f4a 2008-01-10T20:50:02 * tests/output-order.test: New test, for the stable output fix. * tests/Makefile.am: Update.
Ralf Wildenhues 66931411 2008-01-08T21:45:37 Ensure world-executable tests in the distribution. * Makefile.am (dist-hook): New, ensure world-executable tests. * THANKS: Update. Report by Arto C. Nirkko.
Ralf Wildenhues b2d9426f 2008-01-08T21:37:21 Fix acloca20.test for fast machines. * 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.
Ralf Wildenhues c22033fc 2008-01-07T22:58:27 Stable `automake --add-missing --verbose' output. * automake.in (scan_autoconf_files): Sort loop over %required_aux_file, for stable verbose output. Report by Bruno Haible.