summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* port elisp-compilation support to emacs-23.1 and newermicroJim Meyering2017-11-233-1/+48
| | | | | | | | | | | | In May of 2017, Emacs' support for using the long-deprecated byte-compile-dest-file function was removed, and that removal broke automake's elisp-compiling rule for any .el file not in the current directory. In emacs-23.1 (July 2009) byte-compile-dest-file-function became the recommended way to adjust the byte-compiler's destination. * lib/am/lisp.am (.el.elc): Use byte-compile-dest-file-function, rather than byte-compile-dest-file. * t/lisp-readonly-srcdir.sh: New file, to test for the above. * t/list-of-tests.mk (handwritten_TESTS): Add it.
* maint: Post-release administriviaMathieu Lirzin2017-06-183-3/+7
| | | | | | * NEWS: Add header line for next release. * configure.ac (AC_INIT): Bump version number to 1.15.1a. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
* version 1.15.1v1.15.1Mathieu Lirzin2017-06-182-3/+3
| | | | | * configure.ac (AC_INIT): Bump version number to 1.15.1. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
* maint: Update 'git-tag-release' ruleMathieu Lirzin2017-06-181-2/+1
| | | | | * maintainer/maint.mk (git-tag-release): Use a Git tag message similar to what the 'do-release-commit-and-tag' script from Gnulib do.
* maint: Update files from upstream with 'make fetch'Mathieu Lirzin2017-06-183-51/+77
| | | | | | * lib/config.guess: Update. * lib/config.sub: Likewise. * lib/texinfo.tex: Likewise.
* maint: Update NEWSMathieu Lirzin2017-06-181-2/+13
| | | | * NEWS: Announce important bug fixes.
* bootstrap: Add a rationale for the bootstrap process.Mathieu Lirzin2017-05-201-0/+4
| | | | * bootstrap: Explain why we can't simply run 'autoreconf -i'.
* bootstrap: Rename 'bootstrap.sh' to 'bootstrap'.Mathieu Lirzin2017-05-206-10/+10
| | | | | | | | | | | | | | Follow Gnulib's convention of using either "bootstrap" or "autogen.sh" file names for development bootstrap scripts. * bootstrap.sh: Rename to ... * bootstrap: ... this. * GNUmakefile (bootstrap): Adapt. * HACKING: Likewise. * Makefile.am (EXTRA_DIST): Likewise. * doc/automake.texi (Future of aclocal) (Error required file ltmain.sh not found): Likewise. * maintainer/maint.mk (autodiffs, update-copyright): Likewise.
* automake: Update 'read_am_file' docstring.Mathieu Lirzin2017-05-201-4/+7
| | | | | * bin/automake.in (read_am_file): Update docstring which was referring to a non existent '%contents' variable.
* tests: Never invoke gettextize.Bruno Haible2017-04-161-25/+16
| | | | | | This change fixes automake bug#26514. * t/gettext-macros.sh: Never invoke gettextize.
* tests: Update "t/txinfo-no-clutter.sh".Mathieu Lirzin2017-04-131-1/+0
| | | | | | | | | | This is workaround to a regression introduced by 48107579abadbe857c8299c38d2ca0a3f8f354c8. With current "lib/texinfo.tex", 'texi2dvi' is not able to produce a valid output for a Texinfo document containing a @synindex command. As a consequence the test "t/txinfo-no-clutter.sh" was failing. * t/txinfo-no-clutter.sh: Remove use of @synindex command.
* maint: Update "lib/texinfo.tex".Mathieu Lirzin2017-03-051-1/+2
| | | | | | | | | This fixes a regression in 48107579abadbe857c8299c38d2ca0a3f8f354c8 where 'texi2dvi' was not able to produce a valid output for a Texinfo document without text. As a consequence the test "t/silent-texi.sh" was failing. * lib/texinfo.tex: Update to 2017-03-05.09.
* maint: Update copyright years to 2017.Mathieu Lirzin2017-03-021436-1438/+1438
| | | | This update has been made with 'make update-copyright'.
* maint: Update files from upstream with 'make fetch'.Mathieu Lirzin2017-03-029-2132/+3894
| | | | | | | | | | | | * lib/INSTALL: Update. * lib/config.guess: Likewise. * lib/config.sub: Likewise. * lib/gendocs.sh: Likewise. * lib/gendocs_template: Likewise. * lib/gitlog-to-changelog: Likewise. * lib/gnupload: Likewise. * lib/texinfo.tex: Likewise. * lib/update-copyright: Likewise.
* maint: Update fetch URLs.Mathieu Lirzin2017-03-021-7/+5
| | | | | | | * maintainer/maint.mk (SV_CVS, SV_GIT_AC): Remove. (SV_GIT_CF, SV_GIT_GL): Use https for Savannah Git repositories. (FETCHFILES): Use Gnulib repository as the source of "texinfo.tex", "gendocs.sh", and "gendocs_template" files.
* doc: fix typo "requited" => "required"Mathieu Lirzin2017-02-231-1/+1
| | | | | | This change fixes automake bug#25413. * doc/automake.texi (Serial Test Harness): Fix typo.
* automake: do not emit rule with two dependentsJim Meyering2016-09-081-0/+1
| | | | | | | | | | | | | | | On a system using our replacement alloca, make would emit this warning: target '.deps/alloca.Po' given more than once in the same rule That arose because automake would emit a rule depending on both ./.deps/alloca.Po and .deps/alloca.Po. Normally, duplicate dependents are avoided by virtue of their names being keys in the %dep_files hash, but in this case, that particular file was specified in two different ways. * bin/automake.in (handle_ALLOCA): When the $dir prefix is empty, make it './', to ensure that when we add ./.deps/alloca.Po it is deduped. See: http://bugs/gnu/org/22702
* python: add python3.5, python3.4Paul Eggert2016-04-201-1/+2
| | | | * m4/python.m4 (AM_PATH_PYTHON): Add python3.5, python3.4.
* automake: port to Perl 5.22 and laterPaul Eggert2016-03-311-1/+1
| | | | | | | | Without this change, Perl 5.22 complains "Unescaped left brace in regex is deprecated" and this is planned to become a hard error in Perl 5.26. See: http://search.cpan.org/dist/perl-5.22.0/pod/perldelta.pod#A_literal_%22{%22_should_now_be_escaped_in_a_pattern * bin/automake.in (substitute_ac_subst_variables): Escape left brace.
* automake: port better to future gzipPaul Eggert2016-03-281-4/+14
| | | | | | * lib/am/distdir.am (dist-gzip, dist-shar, distcheck): Port better to future versions of gzip, which are planned to deprecate the GZIP environment variable (Bug#20132).
* maint: port time-stamp-time-zone to strict POSIXPaul Eggert2016-01-1211-20/+20
| | | | | Set time-stamp-time-zone to "UTC0", not to "UTC", as POSIX defines TZ="UTC0" not TZ="UTC".
* compile: add icl to compile wrapper scriptJonathan L Peyton2015-11-246-2/+108
| | | | | | | | | | | | | * lib/compile: Have icl be treated similarly to cl (scriptversion): Update. * t/ax/am-test-lib.sh (require_tool): Handle icl. * t/compile7.sh: Add new test file for icl... * t/list-of-tests.mk (handwritten_TESTS): ...and use it. * NEWS: Update. * THANKS: Update. Copyright-paperwork-exempt: yes Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* tests: fix a typo-induced bugStefano Lattarini2015-01-061-2/+2
| | | | | | | * t/subobj-vpath-pr13928.sh: Here; we were using $FGREP instead of $EGREP, oops. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* NEWS: fix a typoStefano Lattarini2015-01-061-1/+1
| | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* maint: update copyright years to 2015 (branch 'micro')Stefano Lattarini2015-01-051435-1437/+1437
| | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* sync: update third-part files from upstreamStefano Lattarini2015-01-056-11/+11
| | | | | | | | | * lib/config.sub: This. * lib/INSTALL, lib/config.guess, lib/gitlog-to-changelog, lib/gnupload, lib/update-copyright: And this (but only for copyright year update, no real semantic change) Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* maint: fix typo in error message of a maintainer-only ruleStefano Lattarini2015-01-051-1/+1
| | | | | | * maintainer/maint.mk (web-manual-update): Here. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* Merge branch 'minor' into micro after 1.15 releaseStefano Lattarini2015-01-051417-1882/+2087
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And bump version number: 1.15 -> 1.15.0a * minor: release: stable minor release 1.15 NEWS: minor improvements and fixed some typos and grammaros docs: "make distcheck" implementation details are not to be abused NEWS: improve and adjust in light of the oncoming 1.15 release Fix dumb logic error preventing $install_sh from being be overridden Expose automake bug#19311 build: fix race in parallel builds init: ensure $ac_aux_dir is defined before being used plans: enabling subdir-object by default is blocked on bug#13928 maint: update copyright years maint: sync files from upstream ("make fetch") Typofixes in warning messages and manual NEWS: a typofix, and better word wrapping parallel-tests: avoid possible implicit "make all" in test-suite.log rule Allow user to extend .PRECIOUS target cosmetics: remove a couple of extra trailing white spaces tests: fix a spurious failure on Mac OS X docs: make clear the JAVA primary is frozen install-sh: a slightly better diagnostic, and tests enhancements install-sh: be stricter in catching invalid usages tests: more significant names for some tests tests: some cosmetic fixes tests: more significant names for a test docs: drop a few obsolescent FIXME/TODO comments, and associated text testsuite harness: report test exit status in log file TAP driver: no need to invoke AC_PROG_AWK directly TAP driver: remove perl implementation (move it into contrib/) NEWS: stop reporting "new" Automake versioning scheme cosmetics: untabify the install-sh script install-sh: assume that "set -f" and "set +f" work... install-sh: assume ${var:-value} works as expected install-sh: assume 'dirname' is available and working correctly post-release: micro version bump (1.14a) Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * release: stable minor release 1.15v1.15Stefano Lattarini2014-12-312-4/+4
| | | | | | | | | | | | | | * configure.ac (AC_INIT): Bump version number to 1.15. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * NEWS: minor improvements and fixed some typos and grammarosStefano Lattarini2014-12-311-19/+19
| | | | | | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * docs: "make distcheck" implementation details are not to be abusedStefano Lattarini2014-12-301-2/+13
| | | | | | | | | | | | | | | | * doc/automake.texi: State explicitly and in detail that the exact location and the exact structure of the subdirectory used by "make distcheck" is to be considered an implementation detail, which can change at any time. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * NEWS: improve and adjust in light of the oncoming 1.15 releaseStefano Lattarini2014-12-301-23/+40
| | | | | | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * Merge branch 'micro' into minorStefano Lattarini2014-12-302-6/+21
| |\ | |/ |/| | | | | * micro: shell-no-trail-bslash: improve diagnostic in case of failure
* | shell-no-trail-bslash: improve diagnostic in case of failureStefano Lattarini2014-12-302-6/+21
| | | | | | | | | | | | | | | | | | * t/ax/shell-no-trail-bslash.in: Here, by fixing a typo in a variable name and a logic error. * t/self-check-shell-no-trail-bslash.sh: Enhance to catch the issue. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * Merge branch 'micro' into minorStefano Lattarini2014-12-282-51/+81
| |\ | |/ |/| | | | | * micro: tests: make script 'shell-no-trail-bslash' simpler and more robust
* | tests: make script 'shell-no-trail-bslash' simpler and more robustStefano Lattarini2014-12-282-53/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This solves spurious failure in the 'check-no-trailing-backslash-in-recipes' target for Automake-NG. This is basically a backport of Automake-NG commit v1.14.1-1010-g85aae58; the point is to minimize the amount of spurious diffs between the mainline Automake and the Automake-NG source trees. * t/ax/shell-no-trail-bslash.in: Simplify and fortify. * t/self-check-shell-no-trail-bslash.sh: Enhance. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * Merge branch 'micro' into minorStefano Lattarini2014-12-276-21/+45
| |\ | |/ |/| | | | | | | * micro: tests: fix spurious failure in test on TEXINFO_TEX overriding tests: avoid some spurious failures on AIX 7.1
* | tests: fix spurious failure in test on TEXINFO_TEX overridingStefano Lattarini2014-12-271-3/+3
| | | | | | | | | | | | | | | | | | | | * t/txinfo-override-texinfo-tex.sh: Here. The issue was pre-existing, but has been only recently exposed by the fix for automake bug#18286 "distcheck fails to detect missing files" (see commit v1.14.1-4-g01a7a4a) and by the BSD make semantics. To convince yourself this change actually makes sense semantically, see https://sourceware.org/ml/binutils/2012-06/msg00004.html Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | Merge branch 'aix-testsuite-failures' into microStefano Lattarini2014-12-275-23/+47
|\ \ | | | | | | | | | | | | * aix-testsuite-failures: tests: avoid some spurious failures on AIX 7.1
| * | tests: avoid some spurious failures on AIX 7.1Stefano Lattarini2014-12-275-23/+47
|/ / | | | | | | | | | | | | | | | | | | * t/lex-noyywrap.sh: Here. * t/instmany-mans.sh: And here. * t/instmany-python.sh: And here. * t/instmany.sh: And here. * t/parallel-tests-concurrency.sh: And here. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * Merge branch 'micro' into minorStefano Lattarini2014-12-2311-21/+177
| |\ | |/ |/| | | | | | | | | | | * micro: dist: fix bug#18286 "distcheck fails to detect missing files" tests: expose automake bug#18286 "distcheck fails to detect missing files" include: fix bug in handling of user-defined makefile fragments generation tests: expose bug in handling of user-defined makefile fragments generation
* | Merge branch 'distcheck-pr18286' into microStefano Lattarini2014-12-239-25/+121
|\ \ | | | | | | | | | | | | | | | * distcheck-pr18286: dist: fix bug#18286 "distcheck fails to detect missing files" tests: expose automake bug#18286 "distcheck fails to detect missing files"
| * | dist: fix bug#18286 "distcheck fails to detect missing files"Stefano Lattarini2014-12-239-26/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BTW, this issue had been already reported in the past: http://lists.gnu.org/archive/html/automake/2006-09/msg00008.html http://lists.gnu.org/archive/html/automake/2013-01/msg00049.html "make distcheck" could sometimes fail to detect missing files in the distribution tarball, especially in those cases where both the generated files and their dependencies are explicitly in $(srcdir). An important example of this are *generated* makefile fragments included at Automake time in Makefile.am. A basic example: # -*- Makefile.am -*- $(srcdir)/fragment.am: $(srcdir)/data.txt $(srcdir)/preproc.sh cd $(srcdir) && $(SHELL) preproc.sh <data.txt >fragment.am include $(srcdir)/fragment.am ... If the use forgot to add data.txt and/or preproc.sh in the distribution tarball, "make distcheck" would have erroneously succeeded! The reason is that, while $(srcdir)/data.txt does not exist, make also looks in $(srcdir)/$(srcdir)/data.txt, and in the distcheck-issued VPATH build where $(srcdir) is '..', that file exists, as it is part of the original development directory. * t/distdir.am (distcheck): Adjust to have the build directory be '$(distdir)/_build/sub' rather than just '$(distdir)/_build'. Thanks Nicola Fontana for the suggestion. * t/distcheck-pr18286.sh: Enhance and tighten a little. * t/list-of-tests.mk (XFAIL_TESTS): Remove 't/distcheck-pr18286.sh', as it's now passing. * t/subdir-am-cond.sh: Adjust to avoid a fully spurious failure due to the new distcheck semantics. * t/subdir-ac-subst.sh: Likewise. * t/dejagnu-relative-srcdir.sh: Likewise. * t/txinfo-builddir.sh: Likewise. * NEWS: Update. Helped-by: Nicola Fontana <ntd@entidi.it> Helped-by: Peter Johansson <trojkan@gmail.com> Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | tests: expose automake bug#18286 "distcheck fails to detect missing files"Stefano Lattarini2014-12-232-0/+64
| | | | | | | | | | | | | | | | | | | | | * t/distcheck-pr18286.sh: New test, still XFAILing. * t/list-of-tests.mk: Add it. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | Merge branch 'am-deps' into microStefano Lattarini2014-12-234-1/+61
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * am-deps: include: fix bug in handling of user-defined makefile fragments generation tests: expose bug in handling of user-defined makefile fragments generation Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | include: fix bug in handling of user-defined makefile fragments generationStefano Lattarini2014-12-233-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a user defined one single Makefile fragment to be included (via Automake includes) in his main Makefile.am, and gave a rule to generate that file from other data, Automake used to spuriously complain about with something like "overrides Automake target '$(srcdir)/foo.am". This change remove that spurious error (via a simple hack rather than a systematic change, but oh well). * lib/am/configure.am (%MAKEFILE-IN-DEPS%) [?HAVE-MAKEFILE-IN-DEPS?]: Add a trailing "$(am__empty)" to the list of targets, which is enough to trick Automake into not complaining about "duplicated targets" in case the '%MAKEFILE-IN-DEPS%' list expands to a single target that is also declared in some user-defined rule. * t/list-of-tests.mk (XFAIL_TESTS): Remove now-passing test 't/am-include-only-one-generated-fragment.sh'. * NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | tests: expose bug in handling of user-defined makefile fragments generationStefano Lattarini2014-12-232-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a user defines one single Makefile fragment to be included (via Automake includes) in his main Makefile.am, and givse a rule to generate that file from other data, Automake will spuriously complain about with something like "overrides Automake target '$(srcdir)/foo.am". * t/am-include-only-one-generated-fragment.sh: Expose the bug (this test is still XFAILing). * t/list-of-tests.mk: Add the new test. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| | * Merge branch 'micro' into minorStefano Lattarini2014-12-2215-145/+152
| | |\ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | * micro: cleanup: refactor code to initialize DIST_COMMON dist: ordering of files in DIST_COMMON is deterministic now tests: refactor some tests on DIST_COMMON maint: make output of 'gen-testsuite-part' deterministic When computing lispdir, don't load emacs site wide init file. PATH: quote $(PATH_SEPARATOR) as well Improve detection of GNU make, avoiding "Arg list too long" errors.
* | | cleanup: refactor code to initialize DIST_COMMONStefano Lattarini2014-12-223-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is not need to make that an Automake variable early, only to later get and munge its contents, and use the new content to redefine the variable. * bin/automake.in (@dist_common): New global variable. (push_dist_common, handle_dist): Use it. (handle_dist): Define am__DIST_COMMON instead of DIST_COMMON directly. (initialize_per_input): Reset it to empty. ($configure_dist_common): Turn this scalar variable ... (@configure_dist_common): ... into this array variable. (handle_dist): Adjust. (required_file_check_or_copy): Update and wrap some comments. * lib/am/distdir.am (DIST_COMMON): Append $(am__DIST_COMMON). * t/distcom2.sh: Tighten a little. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | dist: ordering of files in DIST_COMMON is deterministic nowStefano Lattarini2014-12-222-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It had likely stopped being deterministic due to the new perl behavior of having non-deterministic order of numerating hash keys: <http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#Hash_randomization> <http://onionstand.blogspot.ie/2012/12/are-you-relying-on-hash-keys-being.html> See also similar commit v1.14-19-g52e6404, albeit in this case the issue is likely coming from autom4te/autoconf, not from automake itself. Fixes automake bug http://debbugs.gnu.org/17908 * bin/automake.in (handle_dist): Sort @dist_common. (print_autodist_files): Swap invocations of 'sort' and 'uniq', for consistency with the new code in 'handle_dist' and to get rid of a minor hack. * NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>