Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| e21d46fd | 2020-10-27 14:33:46 | python: determine Python (3.10) version number correctly. This change fixes https://bugs.gnu.org/44239 (and https://bugzilla.redhat.com/show_bug.cgi?id=1889732). * m4/python.m4: use print('%u.%u' % sys.version_info[:2]) for the version number instead of merely sys.version[:3], so the numbers are treated as numbers. * t/python-vars.sh (PYTHON_VERSION): Likewise. * doc/automake.texi: Document it. * NEWS: mention it. (Minor tweaks from Karl Berry.) | ||
| 310edf02 | 2020-10-23 21:13:09 | doc: correct "moved in", to "moved to" * NEWS: Correct wording. * contrib/README: Likewise. * doc/automake.texi: Likewise. | ||
| e30c0962 | 2020-10-15 13:11:11 | contrib/README: fix and clarify the English | ||
| f832992d | 2020-10-21 23:31:46 | Improve Vala compiler detection: use API version, not compiler version * m4/vala.m4: check `valac --api-version', not `valac --version'. * doc/automake.texi: update documentation. | ||
| 9f83372b | 2020-10-07 09:19:06 | Use complete configure.ac’s in testsuite. Autoconf 2.70 will issue warnings if it encounters a configure.ac that doesn’t call both AC_INIT and AC_OUTPUT. Automake already issues warnings if it encounters a configure.ac that uses an AM_ macro but doesn’t call AM_INIT_AUTOMAKE or AC_CONFIG_FILES([Makefile]). In two places, the testsuite was tripping these warnings, leading to spurious failures with Autoconf 2.70 betas. * t/aminit-moreargs-deprecation.sh: Add AC_OUTPUT to test configure.ac. * t/mkdirp-deprecation.sh: Use a complete test configure.ac, not a stub containing only a use of AM_PROG_MKDIR_P. | ||
| dbc1c9e7 | 2020-10-06 18:16:14 | automake: install-exec did not depend on $(BUILT_SOURCES). This change fixes https://bugs.gnu.org/43683. * lib/am/install.am (install-exec): %maybe_BUILT_SOURCES% dependency, twice. Basic patch from madmurphy (tiny change), message#8. (.MAKE) [maybe_BUILT_SOURCES]: depend on install-exec. * NEWS: mention it. * doc/automake.texi (Sources): mention this (also that make dist depends on $(BUILT_SOURCES)). * t/built-sources-install-exec.sh: new test. * t/list-of-tests.mk (handwritten_TESTS): add it. * t/built-sources-install.sh: typo. * t/built-sources-check.sh: typo. | ||
| e0d69cc7 | 2020-09-21 14:16:33 | Update documentation of warnings options and strictness levels. The warning categories ‘cross’ and ‘portability-recursive’ were not mentioned in the manual. Also clarify the relationship between warnings categories and strictness levels, and streamline the description of strictness levels by merging the “Gnits” section into the “Strictness” section. * doc/automake.texi (Gnits, Strictness): Combine these sections. Minor revisions to explanation of strictness levels. (automake Invocation): Add documentation of all the warnings categories that have been added since the last time this section was updated. Minor clarifications. | ||
| bd09c76a | 2020-09-18 13:40:20 | Use WARNINGS=none to suppress warnings from autom4te runs. aclocal uses autom4te in trace mode to scan configure.ac for macros whose definition is not yet available. It has a kludge to prevent this from producing spurious warnings, but a cleaner, fully backward compatible, way to get the same effect is to set WARNINGS=none in the environment and not pass down any -W options. (This is better than passing -Wnone on the command line because it automatically inherits to any subprocesses started by autom4te.) Perl’s ‘local’ feature can be used to make the enviironment variable setting temporary, reverting to the previous value when we exit the function. automake also runs autom4te (technically autoconf) in trace mode; warnings from this invocation will not be *spurious*, but in the common case where the person running automake is going to run autoconf next, they will be duplicated. Therefore, make the same change to automake. * bin/aclocal.in (trace_used_macros) * bin/automake.in (scan_autoconf_traces): Use “local $ENV{WARNINGS}='none'” to suppress warnings from autom4te. | ||
| 22089fa6 | 2020-09-13 11:33:05 | New utility function Automake::ChannelDefs::merge_WARNINGS. This function merges a list of warnings categories into the environment variable WARNINGS, returning a new value to set it to. The intended use is in code of the form { local $ENV{WARNINGS} = merge_WARNINGS ("this", "that"); # run a command here with WARNINGS=this,that,etc } This is not actually used in automake, but will be in autoconf. * lib/Automake/ChannelDefs.pm (merge_WARNINGS): New function. | ||
| 626727a8 | 2020-09-12 09:51:07 | t/python-virtualenv.sh: Skip when versions don’t match On some operating systems ‘python’ is Python 2.x but ‘virtualenv -ppython’ will create a virtualenv that uses Python 3.x. This is a bug, but it’s not *automake’s* bug, and should not cause t/python-virtualenv.sh to fail. Skip the test, instead of failing it, when the inner=outer version check fails. (This also has nothing to do with the main goal of this patchset, it just annoyed me while I was testing.) * t/python-virtualenv.sh: Skip test, rather than failing it, when $py_version_pre != $py_version_post. | ||
| 74673d1c | 2020-09-11 18:03:19 | Consistently use ‘our’ instead of ‘use vars’. At file scope of a file containing at most one ‘package’ declaration, ‘use vars’ is exactly equivalent to ‘our’, and the latter is preferred starting with Perl 5.6.0, which happens to be the oldest version we support. (This change has nothing to do with the previous two, but I want to make the same change in Autoconf and that means doing it here for all the files synced from Automake.) (I don’t know why, but this change exposed a latent bug in FileUtils.pm where the last pod block in the file didn’t have a ‘=cut’ delimiter, so the code after it was considered documentation, causing ‘require FileUtils’ to fail.) * lib/Automake/ChannelDefs.pm * lib/Automake/Channels.pm * lib/Automake/Condition.pm * lib/Automake/Configure_ac.pm * lib/Automake/DisjConditions.pm * lib/Automake/FileUtils.pm * lib/Automake/General.pm * lib/Automake/Getopt.pm * lib/Automake/Options.pm * lib/Automake/Rule.pm * lib/Automake/RuleDef.pm * lib/Automake/VarDef.pm * lib/Automake/Variable.pm * lib/Automake/Wrap.pm * lib/Automake/XFile.pm: Replace all uses of ‘use vars’ with ‘our’. * lib/Automake/FileUtils.pm: Add missing ‘=cut’ to a pod block near the end of the file. | ||
| 9ae8a896 | 2020-09-11 16:17:41 | Consistently process -W(no-)error after all other warning options. automake and aclocal were processing ‘-W(no-)error’ whenever it appeared on the command line, which means that ‘-Werror,something-strange’ would issue a hard error, but ‘-Wsomething-strange,error’ would only issue a warning. It is not desirable for warnings about unknown warning categories ever to be treated as a hard error; that leads to problems for driver scripts like autoreconf, which would like to pass whatever -W options it got on its own command line down to all the tools and not worry about which tools understand which warning categories. Also, this sort of order dependence is confusing for humans. Change parse_warnings to take just one option, the _complete_ list of warning categories seen on the command line, and to process -Werror / -Wno-error after processing all other warnings options. Thus, unknown warnings categories will always just be a plain warning. This does mean aclocal has to stop using parse_warnings as a Getopt::Long callback, but that’s not a big deal. Similarly, change parse_WARNINGS to record whether ‘error’ appeared in the environment variable, but not activate warnings-are-errors mode itself. parse_warnings picks up the record and honors it, unless it’s overridden by the command line. * lib/Automake/ChannelDefs.pm ($werror): New package global (not exported). (parse_WARNINGS): Do not call switch_warning for ‘error’ / ‘no-error’; just toggle the value of $werror. (parse_warnings): Do not call switch_warning immediately for ‘error’ / ‘no-error’; toggle $werror instead. Call switch_warning ‘error’ at the very end if $werror is true. Remove unused $OPTION argument. * bin/automake.in: parse_warnings now takes only one argument. * bin/aclocal.in: Call parse_warnings after parse_options instead of using it as a parse_options callback. | ||
| ab9ef6cf | 2020-09-11 14:23:10 | Sync ChannelDefs.pm from autoconf. ChannelDefs.pm *ought* to be kept in sync between automake and autoconf, because it defines the set of valid -W options, and autoreconf assumes that it can pass arbitrary -W options to all of the tools it invokes. However, it isn’t covered by either project’s ‘make fetch’ and it hasn’t actually *been* in sync for more than 17 years. This patch manually brings over all of the changes made on the autoconf side. Most importantly, there is a new warnings channel ‘cross’, for warnings related to cross-compilation. Also, the ‘usage’ function now *returns* the text to be put into a usage message, instead of printing it itself. (This is necessary on autoconf’s side.) * lib/Automake/ChannelDefs.pm: Sync from autoconf. (cross): New warnings channel. (portability-recursive): Document. (usage): Now returns the text to be printed, instead of printing it. (parse_warnings): Second argument may now be a list. | ||
| 74a413ff | 2020-09-05 18:12:48 | automake: be robust against directories containing (). This change fixes https://bugs.gnu.org/14196. * m4/missing.m4 (AM_MISSING_HAS_RUN): always quote the invocation (not just if $am_aux_dir contains space or tab), in case $am_aux_dir contains () or other metachars not rejected by AM_SANITY_CHECK; quoting with '...' suggested by Jim Meyering. * t/man6.sh (HELP2MAN): adjust grep since missing value is quoted now. * t/am-missing-prog.sh: likewise. | ||
| f50685a5 | 2020-09-02 20:53:21 | maint: Update files from upstream with 'make fetch' * lib/config.guess: Update. * lib/config.sub: Likewise. * lib/gendocs_template: Likewise. * lib/gitlog-to-changelog: Likewise. * lib/texinfo.tex: Likewise. * lib/update-copyright: Likewise. Signed-off-by: Issam E. Maghni <issam.e.maghni@mailbox.org> | ||
| 5cafaafd | 2020-08-31 18:31:04 | perl: use warnings instead of -w; consistent ordering of use, etc. Per thread at: https://lists.gnu.org/archive/html/automake-patches/2020-08/msg00009.html * bin/aclocal.in: use warnings instead of #!...-w; consistent ordering of basic "use" directives, then BEGIN block, then standard modules in ASCII order, then Automake:: modules (not sort), finally use vars. Also sort @ISA lists and use qw(...) in ASCII order. * bin/automake.in: likewise. * lib/Automake/ChannelDefs.pm: likewise. * lib/Automake/Channels.pm: likewise. * lib/Automake/Condition.pm: likewise. * lib/Automake/Config.in: likewise. * lib/Automake/Configure_ac.pm: likewise. * lib/Automake/DisjConditions.pm: likewise. * lib/Automake/FileUtils.pm: likewise. * lib/Automake/General.pm: likewise. * lib/Automake/Getopt.pm: likewise. * lib/Automake/Item.pm: likewise. * lib/Automake/ItemDef.pm: likewise. * lib/Automake/Language.pm: likewise. * lib/Automake/Location.pm: likewise. * lib/Automake/Options.pm: likewise. * lib/Automake/Rule.pm: likewise. * lib/Automake/RuleDef.pm: likewise. * lib/Automake/VarDef.pm: likewise. * lib/Automake/Variable.pm: likewise. * lib/Automake/Version.pm: likewise. * lib/Automake/Wrap.pm: likewise. * lib/Automake/XFile.pm: remove unnecessary imports of Carp, DynaLoader, and File::Basename. | ||
| 39fd2153 | 2020-08-28 17:29:06 | docs: automake-history.texi @dircategory Software development. Per thread at: https://lists.gnu.org/archive/html/automake-patches/2020-08/msg00006.html * doc/automake-history.texi (@dircategory): Define. | ||
| 3bbcf683 | 2020-08-28 16:26:54 | automake: if TEST_EXTENSIONS is set to empty, don't look inside it. This change fixes https://bugs.gnu.org/42635. * bin/automake.in (handle_tests): do not use $test_suffixes[0] if it does not exist. * t/test-extensions-empty.sh: new test. * t/list-of-tests.mk (handwritten_TESTS): add it. | ||
| c8f8c3d5 | 2020-08-13 18:10:17 | docs: typo in tap-driver.sh. Per thread at: https://lists.gnu.org/archive/html/automake-patches/2020-08/msg00000.html * lib/tap-driver.sh (setup_result_obj): "assing" typo, etc. | ||
| 217d6d92 | 2020-08-01 16:12:34 | port XFile locking to OpenIndiana I observed this problem on an NFS filesystem on an OpenIndiana host (5.11 illumos-dde7ba523f i386). fcntl (fd, F_SETLK, ...) failed with errno == EINVAL, which POSIX allows for files that do not support locking. * lib/Automake/XFile.pm (lock): Treat EINVAL like ENOLCK. | ||
| 17614727 | 2020-07-26 15:12:08 | * Update scriptversions for install-sh, mkinstalldirs. | ||
| cd8ef343 | 2020-07-26 15:01:34 | Install directories mode 755 instead of using umask Problem reported by Antoine Amarilli in: https://lists.gnu.org/archive/html/automake/2019-01/msg00000.html and followed up by Akim Demaille in: https://lists.gnu.org/archive/html/bug-bison/2020-07/msg00040.html * bin/automake.in: Add a comment about this. * lib/install-sh: Ignore umask; just create directories mode 755 unless overridden via -m (for non-intermediate directories only). Also, fix 'umask=$mkdir_umask' typo. * lib/mkinstalldirs: Likewise. | ||
| 19fe70ea | 2020-06-29 15:18:20 | automake: remove stray up_to_date_p * lib/Automake/FileUtils.pm (up_to_date_p): Don’t export up_to_date_p, which was removed in 2020-05-11T00:40:14Z!karl@freefriends.org. | ||
| 74b9f0bb | 2020-06-06 15:47:33 | tests: support -fno-common in vala-mix2 test. This change fixes https://bugs.gnu.org/41726. * t/vala-mix2.sh: extern in .h, initialization in .c. GCC 10 defaults to -fno-common. | ||
| 216d1834 | 2020-06-06 15:42:54 | automake: support AM_TESTSUITE_SUMMARY_HEADER override. This change handles https://bugs.gnu.org/11745. * lib/am/check.am (AM_TESTSUITE_SUMMARY_HEADER): new variable. Default value is " for $(PACKAGE_STRING)", including quotes, to keep the default output the same. ($(TEST_SUITE_LOG)): use it, unquoted. * doc/automake.texi (Scripts-based Testsuites): document it. * NEWS: mention it. * t/testsuite-summary-header.sh: new test. * t/list-of-tests.mk (handwritten_tests): add it. * t/ax/testsuite-summary-checks.sh: fix typo. | ||
| 660dfaeb | 2020-05-28 17:45:15 | docs: promote Makefile snippets that work properly with make -n. This change handles https://bugs.gnu.org/10852. * doc/automake.texi (Multiple Outputs): Split commands than reinvoke $(MAKE) to avoid file removals during dry runs. | ||
| c838e042 | 2020-05-25 18:30:53 | docs: forgot TAR in NEWS; fix " -- " in manual. * NEWS: it seems the TAR envvar was never mentioned in NEWS; add it, back for 1.11.3 when it was apparently implemented. * doc/automake.texi: consistently use "---" instead of " --". | ||
| 14ac16ec | 2020-05-25 18:20:01 | docs: TAR envvar overrides "tar" for make dist. This change finishes https://bugs.gnu.org/9822. * doc/automake.texi (Basics of Distribution): mention that environment variable TAR overrides "tar". | ||
| 04567be6 | 2020-05-17 09:36:15 | automake: new variable AM_DISTCHECK_DVI_TARGET to override "dvi". This change fixes https://bugs.gnu.org/8289. * lib/am/distdir.am (AM_DISTCHECK_DVI_TARGET): define as dvi. (distcheck): use it, isntead of hardcoding dvi. * lib/Automake/Variable.pm (%_silent_variable_override): add AM_DISTCHECK_DVI_TARGET. * t/distcheck-override-dvi.sh: new test. * t/list-of-tests.mk (handwritten_TESTS): add it. * doc/automake.texi (Checking the Distribution): document this. (Third-Party Makefiles): explicitly mention that EMPTY_AUTOMAKE_TARGETS is not a built-in or special name. Various other index entries and wording tweaks. * NEWS (Distribution): mention this. | ||
| afba8295 | 2020-05-10 17:40:14 | automake: remove unused Automake::FileUtils::up_to_date_p function. Per thread at: https://lists.gnu.org/archive/html/automake-patches/2020-04/msg00000.html> especially: https://lists.gnu.org/archive/html/automake-patches/2020-05/msg00003.html * lib/Automake/FileUtils.pm (up_to_date_p): remove. Nothing in Automake itself uses this. It is used in Autoconf's autom4te utility, but Autoconf has its own copy, and the duplication was impeding auto4mte development, as discussed in the thread above. (While here, insert missing =over/=back to placate pod2text.) * NEWS (Miscellanous changes): note this. | ||
| 656befe5 | 2020-05-07 18:26:33 | docs: make dist implies make dvi. This change handles https://bugs.gnu.org/7994. * doc/automake.texi (Preparing Distributions): make distcheck runs make dvi. (Auxiliary Programs) <texinfo.tex>: mention that make dist runs make dvi, and therefore a TeX system is required when Texinfo sources are present. Add @cmindex entries for all auxiliary programs while we're here. | ||
| 1fae318a | 2020-05-07 18:11:49 | tests: TeX system required for two more tests. * t/instdir-no-empty.sh (required): makeinfo tex texi2dvi dvips. * t/txinfo-bsd-make-recurs.sh (required): likewise. | ||
| c211745e | 2020-04-23 17:40:39 | bug#40699: "dist Hook" documentation in manual is incorrect or unclear about write permissions On 2020-04-20 14:59:00 -0600, Karl Berry wrote: > i.e. it does not change the permissions in order to make the removal > work recursively > > Right, I see it now. Had been testing the wrong thing. > > So, can you propose a specific change for the manual? -k I think that it is sufficient to fix the example (the explanation is just below). BTW, the second example is also incorrect. commit a639e5b51cadbaff88ca4059b4db4571c811070c Author: Vincent Lefevre <vincent@vinc17.net> Date: 2020-04-23 17:33:54 +0200 doc: fix dist-hook examples | ||
| 139f7958 | 2020-04-18 14:06:59 | cosmetics: spurious word in README, copyright year. * README: delete spurious "that"; update copyright year end to 2020. Original suggestion from Vincent Lefevre, https://lists.gnu.org/archive/html/automake-patches/2020-04/msg00007.html | ||
| 6cfd9401 | 2020-04-08 18:07:10 | docs: test-driver options do not accept =, update --help. This change fixes https://bugs.gnu.org/22445. * lib/test-driver (print_usage): space after --test-name, --log-file, --trs-file, not =. Also mention Automake as source. | ||
| ae911ae2 | 2020-04-06 18:25:24 | cosmetics: typo in comment. This change fixes https://bugs.gnu.org/32100. * bin/aclocal.in (install_file): remove duplicate "the" in "Using the real the destination file ...". | ||
| a523b69a | 2020-04-05 17:35:51 | vala: more precise argument matching. This change fixes https://bugs.gnu.org/18734. * bin/automake.in (lang_vala_finish_target): anchor option regexp so that, e.g., an argument "vapi" does not match the option --vapi. * NEWS: mention this (and preceding checklinkx change, sorry). | ||
| df5460e0 | 2020-03-31 18:21:22 | doc: update urls in manual and include checklinkx script. * doc/automake.texi: update many urls; http -> https, search.cpan.org -> metacpan.org/pod/distribution, node names, etc. Remove sourceware.org/cgi-bin/gnatsweb.pl and miller.emu.id.au/pmiller/books/rmch/ as these are 404 and no good replacement is evident. s/perl/Perl/ a couple times in text for good measure. * contrib/checklinkx: new script, a small modification of W3C checklink <https://validator.w3.org/checklink/docs/checklink.html> (W3C license, which is free software), starting from version 4.81 installed from CPAN: https://metacpan.org/pod/distribution/W3C-LinkChecker/bin/checklink.pod * doc/local.mk (checklinkx): new target to invoke it, with variables. * Makefile.am (EXTRA_DIST): distribute it. * NEWS: mention all this. | ||
| 77d39959 | 2020-03-24 18:30:18 | tests: require etags for tags-lisp-space test. * t/tags-lisp-space.sh (required): set to etags. | ||
| bf1a6d3a | 2020-03-24 15:13:09 | Merge branch 'master' of git.savannah.gnu.org:/srv/git/automake | ||
| 6336d487 | 2020-03-24 15:12:49 | doc: forgot Python 3 NEWS entries. * NEWS: item for Python 3 support in 1.16.2. | ||
| 104d3a10 | 2020-03-23 18:43:29 | maint: Post-release administrivia * NEWS: Add header line for next release. * configure.ac (AC_INIT): Bump version number to 1.16b. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). | ||
| 6774c9b2 | 2020-03-14 20:21:43 | version 1.16.2 * configure.ac (AC_INIT): Bump version number to 1.16.2. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version. | ||
| 3d14ef91 | 2020-03-16 18:29:59 | maint: sync fdl.texi. * doc/fdl.texi: sync with gnulib/doc/fdl.texi, for https://fsf.org and some Texinfo fixes. | ||
| 796a2aa5 | 2020-03-12 18:01:56 | maint: do not descend into unreadable test directories. * maintainer/syntax-checks.mk (sc_tests_makefile_variable_order): find t ! -perm o+r -prune, since some test directories are intentionally unreadable. | ||
| 7665b8e2 | 2020-02-29 08:11:23 | doc: gender tweak * HACKING: s/his/their/ | ||
| 92f4a08b | 2020-02-29 08:14:04 | maint: run "make fetch" to update files from elsewhere * lib/config.guess: Auto-update. * lib/config.sub: Auto-update. * lib/gendocs.sh: Auto-update. * lib/gendocs_template: Auto-update. * lib/gitlog-to-changelog: Auto-update. * lib/gnupload: Auto-update. * lib/texinfo.tex: Auto-update. * lib/update-copyright: Auto-update. | ||
| 6f8cf01b | 2020-03-11 07:34:31 | maint: typo in comment. * t/CheckListOfTests.am (maintainer-check-list-of-tests): an -> and. | ||
| 9ba2f0dd | 2020-02-25 18:07:15 | python: support both Python 2 and 3 in py-compile * lib/py-compile: check python major version and use imp or importlib accordingly, plus related changes. Original patch for Python 3 only from Gabriel Ganne at: https://lists.gnu.org/archive/html/automake-patches/2019-07/msg00002.html | ||
| 9c65590a | 2020-02-15 18:16:15 | configure: add flang compilers to _AM_COMPILER_CAN_FAIL * configure.ac (_AM_COMPILER_CAN_FAIL): add armflang and flang (in two places). Original patch at: https://lists.gnu.org/archive/html/automake-patches/2019-02/msg00001.html | ||
| c3ad6b0b | 2020-02-14 18:36:49 | cosmetics: improve error message when dependency tracking fails This change fixes https://bugs.gnu.org/35848. * m4/depout.m4: Add suggestion to try GNU make to the error message. Original patch at https://lists.gnu.org/archive/html/automake-patches/2019-05/msg00000.html | ||
| 71dff5b2 | 2020-02-13 18:26:40 | maint: update lib/COPYING from canonical source. * lib/COPYING: update from https://www.gnu.org/licenses/gpl-3.0.txt (only change is to use https urls). | ||
| f19ecc08 | 2020-02-04 15:28:00 | build: fix 'installcheck' target * t/local.mk (installcheck-testsuite): Do not use 'pre-inst-env' script. (AM_TESTS_ENVIRONMENT): Ensure that installed perl modules are found. | ||
| 6207236f | 2020-01-29 18:12:29 | python: properly uninstall __pycache__ in subdirectories This change finishes fixing automake bug#32088: https://debbugs.gnu.org/32088 * lib/am/python.am (uninstall-%DIR%PYTHON): Uninstall byte-compiled files in a '__pycache__' subdirectory from sub/__pycache__/, not __pycache__/sub/. (am__pep3147_tweak): prefix __pycache__ here, for both .pyc and .pyo. https://lists.gnu.org/archive/html/automake-patches/2018-05/msg00000.html * t/instmany-python.sh (limit): increase to 4500, following Andreas Huettel, https://debbugs.gnu.org/32088#11. | ||
| b279a0d4 | 2020-01-28 18:32:20 | tests: in python tests, do not require .pyo files (for python3) This change partially fixes automake bug#32088: https://debbugs.gnu.org/32088 * t/py-compile-basedir.sh: Remove all .pyo checks. Also, in this test only, allow for either 4 or 6 files resulting from compilation, as new-enough Python3 results in 6 (per Andreas Huettel, https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32088#17) * t/py-compile-basic.sh: Remove all .pyo checks. * t/py-compile-destdir.sh: Likewise. * t/py-compile-option-terminate.sh: Likewise. * t/python-virtualenv.sh: Likewise. * t/python10.sh: Likewise. * t/python12.sh: Likewise. * t/python3.sh: Likewise. | ||
| 8e05f006 | 2020-01-26 18:06:04 | doc: clarify build tree location * doc/automake.texi (VPATH Builds): more words about the build tree location. Suggestion from Jefferson Carpenter, 31 May 2018: <https://lists.gnu.org/archive/html/automake-patches/2018-05/msg00003.html> | ||
| 441d29bb | 2020-01-19 18:24:28 | lint: make syntax-check same as maintainer-check. * maintainer/syntax-checks.mk (syntax-check): new target, same as maintainer-check. For consistency with many other GNU packages. (.PHONY): add here too. | ||
| 40415b21 | 2020-01-18 18:06:23 | tests: use find+rm, not perl, to remove temporary directories. This change fixes automake bug#39078: https://debbugs.gnu.org/39078 * t/ax/test-lib.sh (rm_rf_): run chmod -R u+rwx and rm -rf, instead of calling our t/ax/deltree.pl script. This reverses the change of 2013-05-16. It made sense to write and use deltree at that point, but unfortunately as of perl-5.28.0 (File::Path.pm version 2.15), rmtree no longer removes a tree with unreadable subdirectories, such as we (intentionally) have. So we might as well go back to rm -rf. The unconditional recursive chmod instead of the previously-used more complex find command will hopefully prove portable. See the bug report for more details. Our deltree.pl is not used for anything else, but nevertheless leaving it in our source tree for now, for ease of reversion and comparison. | ||
| 01db7b0d | 2020-01-08 18:21:26 | tests: use skip_ consistently. * t/lisp-loadpath.sh: use skip_ instead of exit 77; also, notice and reset if the EMACS envvar is simply "t". * t/uninstall-fail.sh: use skip_ instead of the undefined skip. | ||
| dd69d0ce | 2020-01-05 18:21:01 | tests: Correctly simulate no emacs in t/nobase-nodist.sh * t/nobase-nodist.sh: export EMACS, not EMCAS, as "no". | ||
| b87f2974 | 2020-01-04 17:06:40 | automake: Support byte compilation in older Emacsen * lib/am/lisp.am (am__emacs_byte_compile_setup) [FIRST]: define new make variable, to use byte-compile-dest-file-function if available, else byte-compile-dest-file. (.el.elc): use it. * t/lisp-loadpath.sh: skip test if emacs version is <= 23, since their -L ordering is backwards. * NEWS: update. | ||
| cf27a3df | 2020-01-01 11:44:41 | maint: make update-copyright | ||
| ef7483d7 | 2019-12-23 12:13:26 | maint: make maintainer-check tests pass * maintainer/syntax-checks.mk (sc_sanity_gnu_grep): Remove NUL byte from grep output, to avoid shell diagnostic about "NUL byte suppressed from expansion." (automake_diff_no, aclocal_diff_no): Adjust number of expected diff lines. | ||
| c64fa5a2 | 2019-12-20 17:37:32 | tests: Ensure UTC for Texinfo @UPDATED@ test * t/txinfo-vtexi4.sh: TZ=UTC0; export TZ (same as mdate-sh). * NEWS: update. | ||
| c1e1dd66 | 2019-12-16 19:45:22 | automake: Ensure space after $(LISP) in tags dependencies. This change fixes automake bug#38139. * bin/automake.in (handle_tags): Concatenate with space in " @config". * t/tags-lisp-space.sh: New test. * t/list-of-tests.mk (handwritten_TESTS): Add it. | ||
| 5c466eaf | 2019-10-04 16:39:24 | dist: add dist-zstd option Add support for using the zstd compression algorithm. Use a default compression setting of -19, and ".zst" as the suffix. * bin/automake.in (handle_dist): Add zstd to the list of known dist- suffixes. (preprocess_file): Map ZSTD to dist-zstd. * doc/automake.texi: Document the new option. * lib/Automake/Options.pm (_is_valid_easy_option): Add dist-zstd. * lib/am/distdir.am (dist-zstd): New rule. (?ZSTD?DIST_TARGETS): Add definition. (distcheck): Add a case for *.tar.zst*. * t/dist-formats.tap: Add tests. * NEWS: Mention the change. | ||
| d010f76f | 2019-11-11 12:07:08 | config: add msys support Requested by Arnold Robbins in: https://lists.gnu.org/r/bug-gnulib/2019-11/msg00008.html * lib/ar-lib, lib/compile (func_file_conv): Treat msys like cygwin. | ||
| 5ae02cc8 | 2019-10-14 13:46:55 | maint: make update-copyright | ||
| 06971c3d | 2019-10-14 13:44:48 | maint: make fetch | ||
| 309a6c47 | 2019-08-25 21:07:58 | automake: do not require @setfilename in Texinfo files Texinfo no longer requires a @setfilename directive in each .texi file, so automake now also relaxes its restriction. * bin/automake.in (scan_texinfo_file): Derive name of info file from name of input file if no @setfilename line occurs in the file. * t/txinfo-no-setfilename.sh: New test. * t/list-of-tests.mk: Add it. * NEWS: Mention it. Fixes automake bugs #36921 and #34201. | ||
| d89a1aad | 2019-08-25 18:51:26 | install-sh: support -s with read-only source Problem reported by Karl Berry in: https://lists.gnu.org/r/bug-gnulib/2019-08/msg00067.html * lib/install-sh: If -s is given, create the temporary file with $cp_umask so that ‘strip’ can write to it. | ||
| 20f739e6 | 2019-07-04 03:43:54 | ar-lib: Fix for MSVC 14. * lib/ar-lib (extract): Convert CRLFs in 'lib -NOLOGO -LIST' output to LFs. | ||
| 6624f88b | 2018-10-23 20:55:44 | doc: Fix various typos and phrasing This change fixes automake bug#32150. * doc/automake.texi: Various typos and phrasing changes. | ||
| a348d830 | 2018-07-08 23:41:42 | python: Don't use '\n' in sed substitution This change fixes automake bug#31222. On macOS, 'sed' interprets '\n' in the substitution text as the letter 'n' instead of as a newline. * lib/am/python.am [?FIRST?] (am__pep3147_tweak): Use a space instead of '\n'. * NEWS: Update. | ||
| 596e9e13 | 2018-03-25 07:29:48 | test-driver.scm: Add "--coverage" option * contrib/test-driver.scm: When 'coverage' option is enabled, run tests in the debug vm and trace coverage data. (%options): Add 'coverage'. (show-help): Display option. | ||
| 66c69584 | 2018-03-24 23:42:16 | test-driver.scm: Don't guess script name from "--test-name" 'primitive-load' is used instead of 'load-from-path' since the script is given as a relative file name. For unknown reason, using 'load' fails with GNU Mcron test suite when running 'make distcheck'. * contrib/test-driver.scm: Get the actual script name directly from the command line. Handle the case where that argument is missing. | ||
| 599b2c78 | 2018-03-24 20:54:24 | test-driver.scm: Inline 'main' procedure Having a main procedure involves passing the '-e main' command-line argument to 'guile' which makes the test driver a bit less easy to use. * contrib/test-driver.scm (main): Delete. Move body to the top-level. | ||
| 24406e81 | 2018-03-11 23:49:07 | maint: Use 'before-save-hook' in "contrib/test-driver.scm" This a follow-up to commit 6bab5b26a1241b0e0edd058d2a921989f9a1747c. Use 'before-save-hook' instead of 'write-file-functions' to match what is done in other scripts. * contrib/test-driver.scm: Update hook usage and use 'UTC0' timezone instead of 'UTC'. | ||
| 51823f14 | 2018-02-20 23:18:09 | bin: Rely only on the shebang line Previously ‘automake’ and ‘aclocal’ were handling the case of being interpreted as a Shell script by using a hack leveraging the fact that Shell and Perl has a compatible syntax intersection allowing those scripts to launch ‘perl’ from the shell. * bin/aclocal.in: Remove cryptic launching hack. * bin/automake.in: Likewise. | ||
| 48c75cb8 | 2018-03-11 23:24:55 | maint: Post-release administrivia * NEWS: Add header line for next release. * configure.ac (AC_INIT): Bump version number to 1.16a. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). | ||
| 02c7c2d5 | 2018-03-11 22:24:54 | version 1.16.1 * configure.ac (AC_INIT): Bump version number to 1.16.1. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version. | ||
| d96d1f3e | 2018-03-11 22:13:16 | maint: Update files from upstream with 'make fetch' * lib/config.guess: Update. * lib/config.sub: Likewise. * lib/gendocs.sh: Likewise. * lib/gitlog-to-changelog: Likewise. * lib/gnupload: Likewise. * lib/texinfo.tex: Likewise. * lib/update-copyright: Likewise. | ||
| 968bf9f6 | 2018-03-11 21:47:54 | install-sh: avoid (low risk) race in "/tmp" Ensure that nobody can cross privilege boundaries by pre-creating symlink on '$tmpdir' destination directory. Just testing 'mkdir -p' by creating "/tmp/ins$RANDOM-$$/d" is not safe because "/tmp" directory is usually world-writeable and "/tmp/ins$RANDOM-$$" content could be pretty easily guessed by attacker (at least for shells where $RANDOM is not supported). So, as the first step, create the "/tmp/ins$RANDOM-$$" without -p. This step would fail early if somebody wanted catch us. Systems that implement (and have enabled) fs.protected_symlinks kernel feature are not affected even without this commit. References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760455 https://bugzilla.redhat.com/show_bug.cgi?id=1140725 * lib/install-sh: Implement safer 'mkdir -p' test by running '$mkdirprog $mkdir_mode "$tmpdir"' first. * NEWS: Update. Signed-off-by: Mathieu Lirzin <mthl@gnu.org> | ||
| 74902aa2 | 2018-03-03 23:50:10 | automake: Don't rely on List::Util to provide 'none' This change fixes automake bug#30631. This removes the use of List::Util which is not supported by Perl 5.6, by reimplementing the 'none' subroutine. * lib/Automake/General.pm (none): New subroutine. * bin/automake.in (handle_single_transform): Use it. * t/pm/General.pl: New test. * t/list-of-tests.mk (perl_TESTS): Add it. * NEWS: Update. | ||
| 9385c161 | 2018-03-03 12:01:13 | python: Support future python version up to 3.9 This change fixes automake bug#28160. Since AM_PYTHON_PATH macro takes no maximum version argument, there is no need to generate _AM_PYTHON_INTERPRETER_LIST dynamically, like what was previously done by the reverted commit 1d60fb72168e62d33fe433380af621de64e22f23. We could rely on M4 to generate this list statically however this is likely to be a complex solution that would not improve maintainability. * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add 'python3.7', 'python3.8', and 'python3.9'. * NEWS: Update. | ||
| 6bab5b26 | 2018-03-06 20:13:32 | maint: write-file-hooks -> before-save-hook write-file-hooks is obsolete since Emacs 22.1 (released June 2007) and it's time to use the recommended replacement. Problem reported by Glenn Morris in: https://lists.gnu.org/r/bug-gnulib/2018-03/msg00008.html * contrib/tap-driver.pl, lib/compile, lib/depcomp, lib/install-sh: * lib/mdate-sh, lib/missing, lib/mkinstalldirs, lib/py-compile: * lib/tap-driver.sh, lib/test-driver, lib/ylwrap: Update hook usage for files where Automake is the canonical source. | ||
| 4ef6c2d1 | 2018-03-03 12:00:31 | Revert "python: Generate python interpreter list" This reverts commit 1d60fb72168e62d33fe433380af621de64e22f23. | ||
| b2a9eb09 | 2018-02-25 22:28:21 | maint: Post-release administrivia * NEWS: Add header line for next release. * configure.ac (AC_INIT): Bump version number to 1.16a. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). | ||
| ca238468 | 2018-02-25 22:26:28 | Merge branch 'release' | ||
| 4f73bb80 | 2018-02-25 20:47:15 | version 1.16 * configure.ac (AC_INIT, APIVERSION): Bump version number to 1.16. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version. | ||
| 89158972 | 2018-02-25 18:52:38 | maint: Update INSTALL * INSTALL: Use single quotes. | ||
| c0317195 | 2018-02-25 16:45:32 | tests: Remove tests intended only for the 'next' branch The commit 199e7a445040270fa5ef67623c56cde40d765199 "Prefer https: URLS" which is a cherry-pick of b09d945b795ab9deed2bc457289cd5f41c506b50 from 'next' to 'master' has mistakenly copied some tests only present on the 'next' branch. * t/am-prog-mkdir-p.sh: Delete. * t/txinfo-no-split.sh: Likewise. | ||
| b09d945b | 2018-02-25 15:10:50 | maint: Update files from upstream with 'make fetch' * lib/config.guess: Update * 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. | ||
| 006c4dfe | 2018-02-04 00:09:31 | python: Avoid exceeding command-line length limit With Python implementations following PEP-3174, a large number of files are installed in the ‘__pycache__’ directory. As a consequence “t/instmany-python.sh” test was failing due to the ‘uninstall-pythonPYTHON’ target deleting installed files in a single ‘rm’ command. Doing that in multiple steps avoids exceeding the command-line length limit. This fixes bug#30335. * lib/am/python.am (uninstall-%DIR%PYTHON): For byte-compiled files installed in '__pycache__' directory, uninstall them by batch of 40. [?FIRST?] (am__pep3147_tweak): Adapt. | ||
| 903a80e0 | 2018-01-18 11:19:13 | tests: Don't check 'Getopt::Long' corner cases Depending on the installed 'Getopt::Long' perl module, command-line handling may vary a bit. As a consequence we prefer not to check command-line corners cases. This change fixes automake bug#29638. * t/aclocal.sh (am_create_testdir): Don't expect "--versi" to be interpreted as "--version". * t/automake-cmdline.tap: Don't expect "--vers" to be interpreted as "--version" and things after "--" to be interpreted as file arguments. (do_check): Display the actual command output. * t/maken3.sh (check_targets): "--force" is not a documented option, so don't use it. | ||
| 1d60fb72 | 2018-02-01 13:51:03 | python: Generate python interpreter list _AM_PYTHON_INTERPRETER_LIST is used by AM_PYTHON_PATH to autodetect Python programs whose names correspond to a specific Python version (e.g. python3.6). Previously this list was updated manually. The automatic support of newer versions (up to 4.0 excluded) fixes bug#28160. * m4/python.m4 (am_py_min_ver, am_py_max_ver): New macros. (_AM_PYTHON_INTERPRETER_LIST): Generate this list instead of hard-coding it. Implementation is taken from GNU Pyconfigure. | ||
| 3edf8e05 | 2018-01-19 15:54:46 | tests: Improve comment in 'txinfo-many-output-formats.sh' * t/txinfo-many-output-formats.sh: Explain why AM_MAKEINFOFLAGS is set with an invalid option. | ||
| a0c7e40c | 2018-01-19 00:41:31 | tests: Distribute DEJATOOL files manually "t/check12.sh" was failing because files declared in DEJATOOL are not automatically distributed. The test running 'make distcheck' couldn't succeed since some scripts were not distributed. This fixes automake bug#26738. * t/check12.sh (Makefile.am): Distribute files from DEJATOOL. | ||
| 303effad | 2018-01-19 00:38:34 | tests: Let 'ltorder.sh' run successfully with Guix dynamic loader * t/ltorder.sh: Set GUIX_LD_WRAPPER_ALLOW_IMPURITIES environment variable to unlock the dynamic loader provided by GNU Guix. | ||
| 826408a7 | 2018-01-18 23:51:49 | tests: Fix various 'flex' compilation issues * t/lex-clean-cxx.sh (parsefoo.lxx): Declare 'yylex': (mainfoo.cc): Make declaration compatible with C++. * t/lex-depend-cxx.sh (joe.ll): Declare 'yylex'. * t/silent-many-languages.sh (Makefile.am, sub/Makefile.am): Link -lfl only with 'fo2' and 'sub/ba2' which are the only program needing it. (foo5.l): Define 'isatty'. (foo6.y): Declare 'yylex'. |