doc


Log

Author Commit Date CI Message
Ralf Wildenhues 66c2dcaa 2009-03-11T23:55:26 parallel-tests: per-extension test driver: <EXT>_LOG_COMPILER. For test files with extension <ext>, introduce the internal variable <EXT>_LOG_COMPILE, which expands to $(<EXT>_LOG_COMPILER) $(AM_<EXT>_LOG_FLAGS) $(<EXT>_LOG_FLAGS). Turn also the lib/Automake/tests testsuite over to the new test driver. * doc/automake.texi (Tests): Document `EXT_LOG_COMPILER' and `EXT_LOG_FLAGS'. * lib/am/check2.am: Insert `%COMPILE%' right before test. * automake.in (handle_tests): Substitute `COMPILE' for check2, empty for tests without extension, and `$(ext_LOG_COMPILE)' for extension `ext'. In the latter case, define it from the public components. * configure.ac (AM_INIT_AUTOMAKE): Use `parallel-test' globally. * tests/Makefile.am (AUTOMAKE_OPTIONS): Remove, not needed here any more. * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Split ... (PL_LOG_COMPILER, PL_LOG_FLAGS): ... into these new variables. (TESTS_EXTENSIONS): New variable, initialize to `.pl'. * tests/parallel-tests7.test: New test. * tests/Makefile.am: Update. Suggestion by Akim Demaille. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues c67ad4d3 2009-03-08T14:07:37 Documentation for the parallel-tests driver. * doc/automake.texi (Tests, Options): Document the `parallel-tests' option, including new features of the test driver. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 32defaf0 2009-03-06T07:34:08 manual: Fix logic in AM_MAINTAINER_MODE description. * doc/automake.texi (maintainer-mode): Fix logic in AM_MAINTAINER_MODE description. * THANKS: Update. Report by Daniel Kahn Gillmor. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
William Pursell 8c35801e 2008-12-01T21:06:10 Replace bare `automake' with `@command{automake}' or `Automake'. * doc/automake.texi: Avoid bare `automake' in the manual, replacing occurrences with `@command{automake}' when the command is meant, and `Automake' when speaking about the software package in general. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 2a5d0046 2009-03-01T15:01:44 Ignore generated files below doc/amhello for git. * doc/amhello/.gitignore: New file. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues cd351b87 2009-02-17T07:29:04 Cross-reference `Flag Variables Ordering' from `Program variables'. * doc/automake.texi (Program variables): Add cross reference to `Flag Variables Ordering' node. Report by Karl Berry. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues b74717c0 2009-01-20T20:58:48 Bump copyright years. * aclocal.in (write_aclocal, version): Bump copyright years. * automake.in (gen_copyright, version): Likewise. * doc/automake.texi: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Chris Pickett 72d358a9 2008-12-29T20:32:56 Clarify overriding of `*_DEPENDENCIES' in LIBOBJS node. * doc/automake.texi (LIBOBJS): Clarify overriding of `*_DEPENDENCIES'. * THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 0fb020fa 2008-12-21T22:38:37 Revamp semantics for `missing help2man' and manpage distribution. Previously, `missing help2man' would create a missing man page containing an error message, and exit 1. This does not play well with `make': the next run will see this particular man page as being up to date, and will only error out on the next generated man page, if any; repeat until all pages are done. This patch changes `missing' to exit successfully in this case, but `make dist' will ensure that no such man pages are packaged. * lib/missing: Exit successfully even if we create a replacement page due to missing help2man. * automake.in (make_paragraphs): Define %HAVE-MANS% to be true if this makefile deals with man pages. * lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%, check that no man page in $(MANS) contains the replacement text from `missing'. * tests/man4.test: New test. * tests/Makefile.am: Update. * NEWS: Reorder a bit, update. * THANKS: Update. Report by Werner Lemberg and Karl Berry. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 08810c8a 2008-12-21T22:26:14 Do not use 'global' for makefile-wide settings. * doc/automake.texi (Linking, Libtool Flags) (Program and Library Variables, Flag Variables Ordering): Reword instances of `global variables' that really mean makefile-wide ones. * THANKS: Update. Report by Andreas Bergmeier. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Zoltan Rado 243da1ec 2008-12-21T17:13:37 Fix a couple of typos in the manual. * doc/automake.texi (DESTDIR): Fix a couple of typos. * THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues bd537a30 2008-12-07T12:39:00 Fix some broken links, for PR automake/531. * doc/automake.texi (amhello Explained) (Mixing Fortran 77 With C and C++): Fix broken links to Autoconf manual. Report by Michael Ploujnikov. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Michael Ploujnikov e1d1a42d 2008-12-07T12:10:18 Various spelling and grammar fixes. * doc/automake.texi (Optional, Future of aclocal): Various spelling and grammar fixes. * THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
William Pursell 87b665e5 2008-12-01T21:06:32 Simple typographical and grammar errors in automake.texi. * doc/automake.texi: Fix object/article consistency (eg "an flag" becomes "a flag"), correct minor punctuation errors, etc.
William Pursell b4cd2d51 2008-12-01T21:06:18 Replace 'configure' with '@command{configure}' as appropriate. * doc/automake.texi (Auxiliary Programs, Python, Rebuilding): Replace 'configure' with '@command{configure}' as appropriate.
Ralf Wildenhues a880e097 2008-11-27T22:27:15 Fix portability issues in distcleancheck_listfiles doc example. * doc/automake.texi (Dist): In the `distcleancheck_listfiles' code example, add `.' path, for Solaris `find', also rewrite so `{}' appears only once and as separate argument, for Posix. * tests/distcleancheck.test: New test. * tests/Makefile.am: Update. * THANKS: Update. Report by Jan Engelhardt and Andreas Schwab. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues e9a942a1 2008-11-27T21:46:36 Cope with whitespace in $MISSING and $install_sh. * configure.ac (am_AUTOHEADER): New substitution, save the value of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING. * tests/defs.in: Use am_AUTOHEADER. * lib/am/install.am: Fix typo. * m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable single-quote quoting to install_sh, but only if needed. * m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote quoting to MISSING, but only if needed. * m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or $srcdir contain shell meta-characters that cannot be handled; space and tab are allowed in the former only. * tests/sanity.test: New test. * tests/Makefile.am: Adjust. * NEWS: Update. Reports by Jim Meyering and others. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
William Pursell f68545ef 2008-11-23T22:23:12 Fix tenses, plurals, swap words, cleanup in manual. * doc/automake.texi (Macro search path, Extending aclocal) (Local Macros, Serials, Public macros, Directories) (Conditional Subdirectories, Nesting Packages) (Building a program, Libtool Modules) (Program and Library Variables, Default _SOURCES, LIBOBJS): Correct verb/object tense agreement, swap some words, and general trivial cleanup. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
William Pursell 50597fd3 2008-11-22T15:06:50 Fix more typos and grammaros in the manual. * doc/automake.texi (VPATH Builds, Nested Packages) (Length limitations, Auxiliary Programs, Invoking Automake) (Requirements, Optional): Fix typos and grammaros, correct URL to 'config' source repository. Rewrite description of AC_SUBST. (true): Cross-reference to `Default _SOURCES' node. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Jim Meyering 7e2cfbf0 2008-11-22T12:02:36 Add xz compression support. * NEWS: Mention xz, as well as lzma (xz will displace lzma). * automake.in (handle_dist): Recognize dist-xz. (make_paragraphs): Map XZ to dist-xz. * doc/automake.texi (Dist): Add dist-xz. (Options): Likewise. * lib/Automake/Options.pm (_process_option_list): Accept dist-xz. * lib/am/distdir.am (dist-xz): New rule. (dist dist-all): Add command to create an xz-compressed tarball. (distcheck): Handle xz-compressed tarballs just like the others. * tests/xz.test: New file, based on nogzip.test. * tests/Makefile.am (TESTS): Add xz.test. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 4c23b9a9 2008-11-22T11:46:39 When installing COPYING, recommend adding the file to VCS. * automake.in (require_file_internal): If installing `COPYING', mention that we install the GPLv3 file and recommend adding the file to version control. * doc/automake.texi (Invoking Automake): Point to `Gnits' node for `--add-missing'. (Gnits): Clarify semantics: that for strictness gnu or higher, INSTALL is installed, and that COPYING is installed as GPLv3 if no COPYING file exists. * tests/license2.test: New test. * tests/Makefile.am: Update. * NEWS, THANKS: Update. Report by Brian Cameron. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
William Pursell 4feeccf9 2008-11-20T06:33:58 Fix typos and grammaros in the documentation. * doc/automake.texi (Timeline): Fix typos and grammaros. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues ba74efba 2008-11-10T22:27:14 Update to GFDL 1.3. * doc/fdl.texi: Update to GFDL 1.3. * doc/automake.texi (GNU Free Documentation License): Adjust. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues d016ef1e 2008-11-04T22:42:23 Multiple 'make uninstall' should not fail even for TEXINFOS. * lib/am/texinfos.am (uninstall-info-am): Do not fail due to install-info if the installed file does not exist (any more). * tests/txinfo26.test: Issue multiple `make uninstall'. * tests/instmany-mans.test: Likewise. * tests/instmany-python.test: Likewise. * tests/instmany.test: Likewise. * tests/txinfo26.test: Likewise. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 96cda9c8 2008-11-03T22:56:22 New public macro AM_SUBST_NOTMAKE. * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke _AM_SUBST_NOTMAKE with arguments. * doc/automake.texi (Optional): Document it. * NEWS: Update. * tests/subst4.test: New test. * tests/Makefile.am: Update. Suggestion by Bruno Haible. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 90ea138b 2008-11-02T22:59:38 New maintainer target release-stats. * Makefile.am (release-stats): New target, to help computing the entries in the statistics table in automake.texi. * doc/automake.texi (Releases): Reformat a bit. Add number of generated files. Add entry for 1.10.1. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues d20e982e 2008-11-02T22:55:30 Choose default source extension: AM_DEFAULT_SOURCE_EXT. * automake.in (handle_source_transform): Accept unconditional literal extension in AM_DEFAULT_SOURCE_EXT as override for the default source extension `.c'. If set, ignore the old default source rule for libtool libraries. * doc/automake.texi (Default _SOURCES): Document this. * NEWS: Update. * tests/specflg10.test: New test. * tests/Makefile.am: Update. Suggestion by Akim Demaille. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues 937775c8 2008-10-26T19:29:25 Parallel automake execution: AUTOMAKE_JOBS. * lib/Automake/Config.in (perl_threads): New global. * automake.in: Use it. If the perl supports interpreter-based threading, then use `threads' and `Thread::Queue'. (handle_makefile, handle_makefiles_serial): New functions, factored out from main. (get_number_of_threads): New function, compute number of threads to use, based on environment variable `AUTOMAKE_JOBS' and number of independent makefiles. (handle_makefiles_threaded): New function. Spawn threads, use thread queue to distribute handling the different makefiles. Collect $exit_code values from threads. (main): Use new functions. * aclocal.in: No threads here. * configure.ac: Substitute PERL_THREADS; enabled with perl >= 5.7.2 and when ithreads are available. * bootstrap (dosubst): Likewise. * Makefile.am (do_subst): Likewise. * lib/Automake/Makefile.am (do_subst): Likewise. * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and `threads'. (verb): Prepend thread ID (tid) to verbose messages. * lib/Automake/Channels.pm (msg): Before exiting, flush stderr, needed for worker threads. * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also include the build tree path, so Config.pm is found. * tests/parallel-am.test: New test. * tests/Makefile.am: Update. * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS. * NEWS, THANKS: Update. Report about long execution times by Joakim Tjernlund and others. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Johan Dahlin d5bec12a 2008-10-26T10:28:40 Support for Python 3.0, drop support for pre-2.0. * lib/py-compile: Do not import string; use sys.stdout.write instead of print, files.split instead of string.split. * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and phython3.0; do not look for python1.5. Use sys.stdout.write. (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange removal in Python 3.0, and changed semantics of map. * doc/automake.texi (Python, Hard-Coded Install Paths): Update Python versions mentioned in the manual, using 2.5 everywhere. * NEWS, THANKS: Update. 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 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 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 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 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 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 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 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 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>
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 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 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>
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 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>
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.
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 14493939 2008-03-08T13:20:20 Add support for newer Fortran extensions '.[fF]0[38]'. * automake.in (scan_autoconf_traces): Accept .f03, .f08 for Fortran, .F03 and .F08 for preprocessed Fortran files. Use $(FCFLAGS_f[09]x) accordingly. * doc/automake.texi (Compiling Fortran 9x Files): Update. * tests/fort2.test: Add more tests. * NEWS: Update.
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 67cc7d16 2008-02-19T22:14:50 Regenerate.
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'.
NightStrike 59dbd8ff 2008-01-19T10:58:06 * doc/automake.texi (Dependency Tracking): Fix typo.
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 16ef9da6 2008-01-13T18:04:16 * doc/automake.texi (amhello Explained): Fix odd sentence. Report by nightstrike@gmail.com.
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 15262558 2008-01-02T20:14:28 Regenerate.
Ralf Wildenhues d315aef0 2008-01-02T19:59:08 Bump copyright years. * aclocal.in (write_aclocal, version): Likewise. * automake.in ($gen_copyright, version): Likewise. * doc/automake.texi: Likewise.
Ralf Wildenhues e3acdefa 2007-12-08T11:20:24 Reword the copyright notices to match what's suggested in GPLv3.
Ralf Wildenhues 9966cc73 2007-12-08T10:43:47 Regenerate.
Ralf Wildenhues f1279d7c 2007-11-26T20:12:11 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'.
Akim Demaille 94e81d55 2007-11-24T12:24:22 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. Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
Ralf Wildenhues 760dd83c 2007-11-22T22:34:29 * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again. (CTAGS): Drop unneeded variable `here'.
Ralf Wildenhues c975987c 2007-11-10T10:20:08 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.
Ralf Wildenhues c8db74fc 2007-11-08T22:32:15 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.
NightStrike 9c315dae 2007-11-08T22:23:34 For PR automake/526: * doc/automake.texi (Basic Installation): Fix typo.
Ralf Wildenhues 409466a9 2007-10-29T20:40:38 * doc/automake.texi (Program variables): Clarify that Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but passes it directly to compilation commands.
Ralf Wildenhues 062ce249 2007-10-29T20:21:33 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.
Ralf Wildenhues 5865015a 2007-10-12T16:51:28 .gitignore, doc/.gitignore, lib/Automake/.gitignore tests/.gitignore: New files.
Ralf Wildenhues 18711253 2007-10-09T20:02:57 * automake.in: Treat extension .sx also like preprocessed assembler (.S), following GCC. * NEWS: Update. * doc/automake.texi (Assembly Support) (Unified Parallel C Support): Adjust. * tests/asm3.test: New test. * tests/Makefile.am: Update.
Jim Meyering 495b4155 2007-10-09T14:52:20 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): * lib/am/distdir.am (dist-lzma): New rule. (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. * tests/Makefile.in: Regenerate. Suggestion from Karl Berry. Author: Jim Meyering <meyering@redhat.com>
Ralf Wildenhues 56bac80c 2007-08-19T07:46:52 * doc/automake.texi (gettext): Fix link to gettext manual.
Ralf Wildenhues f2205d30 2007-07-22T09:27:37 * doc/automake.texi (VPATH Builds): Fix wording. Report by Reuben Thomas.
Ralf Wildenhues d0ebf712 2007-07-22T08:48:18 * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target $(am__aclocal_m4_deps) without any dependencies, to avoid the "deleted .m4 file" problem. * tests/acloca22.test: New test. * tests/Makefile.am: Update. * NEWS: Update.
Ralf Wildenhues 2b08a717 2007-07-16T21:55:43 * doc/automake.texi: Remove Front-Cover and Back-Cover Texts, this manual is not printed by the FSF.
Ralf Wildenhues 09e45234 2007-07-10T22:39:36 * doc/automake.texi: New Back-Cover Text. Report by Karl Berry.
Ralf Wildenhues b9ff055d 2007-07-07T11:23:29 * COPYING, lib/COPYING: Update to GPLv3. All uses changed. * NEWS: Update.
Ralf Wildenhues ac9f4049 2007-07-07T10:57:24 Ignore stamp-vti and version.texi.
Ralf Wildenhues b4c497b7 2007-05-03T17:57:41 * doc/automake.texi, lib/Automake/Rule.pm: Fix typos. * automake.in: Likewise. (am_primary_prefixes): Keep the intentional typo there.
Eric Blake f7f334fb 2007-04-25T17:55:15 * doc/stamp-vti: Remove generated file from revision control. * doc/version.texi: Likewise.
Ralf Wildenhues 5d72dc40 2007-04-23T16:36:58 * doc/automake.texi (Python): Fix typo.
Ralf Wildenhues 574df3f6 2007-03-29T23:02:05 * automake.in (handle_tests): Rewrite XFAIL_TESTS just like TESTS, appending $(EXEEXT), so that matching continues to work on w32. * NEWS: Mention this. * doc/automake.texi (EXEEXT, Extending): Update. * tests/check7.test: New test. * tests/Makefile.am: Adjust. Bug report by Ed Hartnett.
Ralf Wildenhues 63d5f15c 2007-03-28T22:27:14 * automake.in (scan_autoconf_config_files): Warn about leading `./' in config file names. * tests/canon-name.test: New test. * tests/Makefile.am: Update. * THANKS: Update. Suggestion by Claudio Fontana.
Ralf Wildenhues d82eb892 2007-01-27T16:32:12 * doc/automake.texi (Multiple Outputs): Fix the multiple outputs with locking example.
Ralf Wildenhues b4174c07 2007-01-27T16:17:54 * doc/automake.texi (Subpackages): Fix ambiguous wording. Report and suggestions by Reuben Thomas. * THANKS: Update.
Ralf Wildenhues 59448d4f 2006-12-19T23:52:55 * doc/automake.texi: Fix typo.
Ralf Wildenhues c1622069 2006-11-12T18:02:41 * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building amhello, to prevent gmake from invoking make with MAKEFLAGS it does not understand. Report by Patrick Welche.
Ralf Wildenhues 9a75cc99 2006-10-28T09:51:58 * doc/automake.texi (amhello Explained): autoconf creates configure, not configure.ac. * THANKS: Update.
Ralf Wildenhues dd3de3aa 2006-10-20T17:17:57 * doc/automake.texi (Dist, Dependency Tracking Evolution): Fix some typos. * lib/Automake/Condition.pm: Likewise. * lib/Automake/DisjConditions.pm: Likewise. * lib/Automake/ItemDef.pm: Likewise. * lib/Automake/Options.pm: Likewise. * lib/Automake/Rule.pm: Likewise. * lib/Automake/VarDef.pm: Likewise. * lib/Automake/Variable.pm: Likewise. * lib/Automake/Wrap.pm: Likewise. * lib/Automake/XFile.pm: Likewise. * m4/substnot.m4: Likewise.
Ralf Wildenhues 0bfc855e 2006-10-16T05:24:17 * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes right before the expanded source file name. * automake.in (%sourceflags): New global: per-extension flag to denote that the next compiler argument is the source file. (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize %sourceflags accordingly. (handle_single_transform): Store source file extension in... (%lang_specific_files): ...this and... (handle_languages): ...adjust here. Pass flag in SOURCEFLAG. * doc/automake.texi (Optional): Add AC_FC_SRCEXT. (Fortran 9x Support): Update. * tests/fort2.test: New test. * tests/Makefile.am: Adjust. * NEWS, THANKS: Update. Suggested by Steven G. Johnson.
Ralf Wildenhues 5f634a9e 2006-10-16T05:00:33 * lib/am/header-vars.am (pkglibexecdir): New variable. * automake.in (%standard_prefix): Add it. * doc/automake.texi (Uniform): Document it. (Program Sources): Adjust. * NEWS: Update. * tests/libexec.test: New test. * tests/Makefile.am: Update. Suggested by Eric Blake.
Alexandre Duret-Lutz 41951667 2006-10-15T19:21:50 * configure.ac, NEWS: Bump version to 1.10a.