summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: TeX system required for two more tests.Karl Berry2020-05-072-0/+2
| | | | | * t/instdir-no-empty.sh (required): makeinfo tex texi2dvi dvips. * t/txinfo-bsd-make-recurs.sh (required): likewise.
* bug#40699: "dist Hook" documentation in manual is incorrect or unclear about ↵Vincent Lefevre2020-04-231-1/+2
| | | | | | | | | | | | | | | | | | | | | 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
* cosmetics: spurious word in README, copyright year.Karl Berry2020-04-181-2/+2
| | | | | | * 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
* docs: test-driver options do not accept =, update --help.Samuel Tardieu2020-04-081-3/+5
| | | | | | | 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.
* cosmetics: typo in comment.Samy Mahmoudi2020-04-061-1/+1
| | | | | | | This change fixes https://bugs.gnu.org/32100. * bin/aclocal.in (install_file): remove duplicate "the" in "Using the real the destination file ...".
* vala: more precise argument matching.Colomban Wendling2020-04-052-2/+10
| | | | | | | | 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).
* doc: update urls in manual and include checklinkx script.Karl Berry2020-04-034-39/+3452
| | | | | | | | | | | | | | | | | * 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.
* tests: require etags for tags-lisp-space test.Karl Berry2020-03-241-1/+1
| | | | * t/tags-lisp-space.sh (required): set to etags.
* Merge branch 'master' of git.savannah.gnu.org:/srv/git/automakeKarl Berry2020-03-243-3/+7
|\
| * maint: Post-release administriviaJim Meyering2020-03-233-3/+7
| | | | | | | | | | | | * 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").
* | doc: forgot Python 3 NEWS entries.Karl Berry2020-03-241-0/+4
|/ | | | * NEWS: item for Python 3 support in 1.16.2.
* version 1.16.2v1.16.2Jim Meyering2020-03-163-4/+4
| | | | | | * configure.ac (AC_INIT): Bump version number to 1.16.2. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version.
* maint: sync fdl.texi.Karl Berry2020-03-161-16/+15
| | | | | * doc/fdl.texi: sync with gnulib/doc/fdl.texi, for https://fsf.org and some Texinfo fixes.
* maint: do not descend into unreadable test directories.Karl Berry2020-03-121-3/+6
| | | | | | * maintainer/syntax-checks.mk (sc_tests_makefile_variable_order): find t ! -perm o+r -prune, since some test directories are intentionally unreadable.
* doc: gender tweakJim Meyering2020-03-111-2/+2
| | | | * HACKING: s/his/their/
* maint: run "make fetch" to update files from elsewhereJim Meyering2020-03-118-33/+29
| | | | | | | | | | | * 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.
* maint: typo in comment.Karl Berry2020-03-111-1/+1
| | | | * t/CheckListOfTests.am (maintainer-check-list-of-tests): an -> and.
* python: support both Python 2 and 3 in py-compileKarl Berry2020-02-251-7/+26
| | | | | | | * 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
* configure: add flang compilers to _AM_COMPILER_CAN_FAILPaul Osmialowski2020-02-151-2/+2
| | | | | | * 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
* cosmetics: improve error message when dependency tracking failsLibor Bukata2020-02-141-1/+3
| | | | | | | | 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
* maint: update lib/COPYING from canonical source.Vincent Lefevre2020-02-131-4/+4
| | | | | * lib/COPYING: update from https://www.gnu.org/licenses/gpl-3.0.txt (only change is to use https urls).
* build: fix 'installcheck' targetMathieu Lirzin2020-02-101-1/+11
| | | | | * t/local.mk (installcheck-testsuite): Do not use 'pre-inst-env' script. (AM_TESTS_ENVIRONMENT): Ensure that installed perl modules are found.
* python: properly uninstall __pycache__ in subdirectoriesLukas Fleischer2020-01-292-3/+3
| | | | | | | | | | | | | 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.
* tests: in python tests, do not require .pyo files (for python3)Lukas Fleischer2020-01-298-31/+8
| | | | | | | | | | | | | | | | | 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.
* doc: clarify build tree locationKarl Berry2020-01-261-6/+7
| | | | | | * 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>
* lint: make syntax-check same as maintainer-check.Karl Berry2020-01-191-2/+2
| | | | | | | * maintainer/syntax-checks.mk (syntax-check): new target, same as maintainer-check. For consistency with many other GNU packages. (.PHONY): add here too.
* tests: use find+rm, not perl, to remove temporary directories.Karl Berry2020-01-191-1/+21
| | | | | | | | | | | | | | | | | | | 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.
* tests: use skip_ consistently.Karl Berry2020-01-082-2/+6
| | | | | | * 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.
* tests: Correctly simulate no emacs in t/nobase-nodist.shKarl Berry2020-01-051-1/+1
| | | | * t/nobase-nodist.sh: export EMACS, not EMCAS, as "no".
* automake: Support byte compilation in older EmacsenKarl Berry2020-01-043-1/+40
| | | | | | | | | | * 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.
* maint: make update-copyrightJim Meyering2020-01-011444-1446/+1446
|
* maint: make maintainer-check tests passJim Meyering2019-12-231-5/+6
| | | | | | | | * 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.
* tests: Ensure UTC for Texinfo @UPDATED@ testKarl Berry2019-12-212-2/+9
| | | | | * t/txinfo-vtexi4.sh: TZ=UTC0; export TZ (same as mdate-sh). * NEWS: update.
* automake: Ensure space after $(LISP) in tags dependencies.Karl Berry2019-12-174-1/+55
| | | | | | | | 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.
* dist: add dist-zstd optionGiuseppe Scrivano2019-11-176-6/+40
| | | | | | | | | | | | | | | | 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.
* config: add msys supportPaul Eggert2019-11-112-4/+4
| | | | | | | 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.
* maint: make update-copyrightPaul Eggert2019-10-141440-1442/+1442
|
* maint: make fetchPaul Eggert2019-10-148-2001/+2155
|
* automake: do not require @setfilename in Texinfo filesGavin Smith2019-09-024-3/+45
| | | | | | | | | | | | 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.
* install-sh: support -s with read-only sourcePaul Eggert2019-08-261-1/+12
| | | | | | | 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.
* ar-lib: Fix for MSVC 14.Bruno Haible2019-07-041-6/+7
| | | | * lib/ar-lib (extract): Convert CRLFs in 'lib -NOLOGO -LIST' output to LFs.
* doc: Fix various typos and phrasingPaul Hardy2018-10-231-157/+160
| | | | | | This change fixes automake bug#32150. * doc/automake.texi: Various typos and phrasing changes.
* python: Don't use '\n' in sed substitutionMathieu Lirzin2018-07-082-1/+9
| | | | | | | | | | 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.
* test-driver.scm: Add "--coverage" optionMathieu Lirzin2018-03-251-9/+28
| | | | | | | * 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.
* test-driver.scm: Don't guess script name from "--test-name"Mathieu Lirzin2018-03-241-16/+22
| | | | | | | | | '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.
* test-driver.scm: Inline 'main' procedureMathieu Lirzin2018-03-241-24/+23
| | | | | | | 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.
* maint: Use 'before-save-hook' in "contrib/test-driver.scm"Mathieu Lirzin2018-03-111-3/+3
| | | | | | | | | | 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'.
* bin: Rely only on the shebang lineMathieu Lirzin2018-03-112-13/+2
| | | | | | | | | | 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.
* maint: Post-release administriviaMathieu Lirzin2018-03-113-3/+7
| | | | | | * 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").
* version 1.16.1v1.16.1Mathieu Lirzin2018-03-113-4/+4
| | | | | | * configure.ac (AC_INIT): Bump version number to 1.16.1. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version.