summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* maint: Update files from upstream with 'make fetch'Mathieu Lirzin2018-03-117-20/+16
| | | | | | | | | | * 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.
* install-sh: avoid (low risk) race in "/tmp"Pavel Raiskup2018-03-112-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* automake: Don't rely on List::Util to provide 'none'Mathieu Lirzin2018-03-085-3/+51
| | | | | | | | | | | | | 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.
* python: Support future python version up to 3.9Mathieu Lirzin2018-03-082-4/+10
| | | | | | | | | | | | | | | 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.
* maint: write-file-hooks -> before-save-hookPaul Eggert2018-03-0611-20/+20
| | | | | | | | | | | 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.
* Revert "python: Generate python interpreter list"Mathieu Lirzin2018-03-031-17/+4
| | | | This reverts commit 1d60fb72168e62d33fe433380af621de64e22f23.
* maint: Post-release administriviaMathieu Lirzin2018-02-253-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").
* Merge branch 'release'Mathieu Lirzin2018-02-2514-794/+641
|\
| * version 1.16v1.16Mathieu Lirzin2018-02-253-6/+6
| | | | | | | | | | | | * configure.ac (AC_INIT, APIVERSION): Bump version number to 1.16. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version.
| * maint: Update INSTALLMathieu Lirzin2018-02-251-161/+159
| | | | | | | | * INSTALL: Use single quotes.
| * tests: Remove tests intended only for the 'next' branchMathieu Lirzin2018-02-252-191/+0
| | | | | | | | | | | | | | | | | | | | 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.