]> git.ipfire.org Git - thirdparty/automake.git/log
thirdparty/automake.git
4 years agomaint: adjust version for snapshot
Jim Meyering [Mon, 19 Jul 2021 01:16:23 +0000 (18:16 -0700)] 
maint: adjust version for snapshot

* configure.ac (AC_INIT): Bump version number to 1.16d for snapshot.
* m4/amversion.m4: Likewise (auto-updated by "make bootstrap").

4 years agodoc: NEWS tweak
Jim Meyering [Sat, 17 Jul 2021 19:55:12 +0000 (12:55 -0700)] 
doc: NEWS tweak

* NEWS: Indent consistently.

4 years agodoc: update HACKING.
Karl Berry [Sun, 18 Jul 2021 01:10:21 +0000 (18:10 -0700)] 
doc: update HACKING.

* HACKING: update for some current realities.

4 years agotests: use testsuite/ directory in DejaGnu tests
Jacob Bachmeyer [Thu, 15 Jul 2021 03:21:49 +0000 (20:21 -0700)] 
tests: use testsuite/ directory in DejaGnu tests

Patch posted:
https://lists.gnu.org/archive/html/automake-patches/2021-07/msg00009.html

* t/check12.sh: Consistently use the directory name, testsuite/,
for all DejaGnu tests, and always use recursive make to run
DejaGnu, for backward and forward compatibility.
* t/dejagnu3.sh: Likewise.
* t/dejagnu4.sh: Likewise.
* t/dejagnu5.sh: Likewise.
* t/dejagnu6.sh: Likewise.
* t/dejagnu7.sh: Likewise.
* t/dejagnu-absolute-builddir.sh: Likewise.
* t/dejagnu-relative-srcdir.sh: Likewise.
* t/dejagnu-siteexp-extend.sh: Likewise.
* t/dejagnu-siteexp-useredit.sh: Likewise.
* NEWS: mention this.
* THANKS: new contributor.

4 years agoautomake: silent make output for custom link commands.
Nick Gasson [Fri, 16 Jul 2021 01:37:09 +0000 (18:37 -0700)] 
automake: silent make output for custom link commands.

Patch posted:
https://lists.gnu.org/archive/html/automake-patches/2021-07/msg00010.html

* bin/automake.in (define_per_target_linker_variable): Use
AM_V_${target}_LINK if defined as the verbose variable name for
custom link commands.
* doc/automake.texi (Program and Library Variables): Document the new
variable.
* t/link_override.sh: Add extra checks for silent make rules.
* NEWS: Mention this.
* THANKS: new contributor.

4 years agomaint: avoid syntax-check failures
meyering [Mon, 12 Jul 2021 02:40:06 +0000 (19:40 -0700)] 
maint: avoid syntax-check failures

* maintainer/syntax-checks.mk (toupper): Tighten the regexp
to avoid a new false-match in t/python-prefix.sh.
* t/instmany-python.sh: Use run_make in place of some $MAKE uses.
* t/python-prefix.sh: Likewise.
* t/python-vars.sh: Likewise.

4 years agomaint: make update-copyright
Jim Meyering [Mon, 12 Jul 2021 02:19:42 +0000 (19:19 -0700)] 
maint: make update-copyright

4 years agomaint: tweak comment wording
Allison Karlitskaya [Fri, 9 Jul 2021 16:03:30 +0000 (09:03 -0700)] 
maint: tweak comment wording

* doc/automake.texi (List of Automake options): Nit.
* t/dist-no-built-sources.sh: Likewise.

4 years agono-dist-built-sources: fix-up
Jim Meyering [Mon, 12 Jul 2021 01:34:22 +0000 (18:34 -0700)] 
no-dist-built-sources: fix-up

* bin/automake.in (preprocess_file): Process new option here,
(handle_dist): ... not here.
* lib/Automake/Options.pm (_is_valid_easy_option):
Remove pure-dist.
* lib/am/distdir.am: Don't factor out the duplicate-looking
$(MAKE)... command.  Otherwise, many dist-using tests would fail
for me, e.g., t/aclocal-amflags.sh.

4 years agotest: disable use of ksh in a test that would otherwise hang
Jim Meyering [Sun, 11 Jul 2021 20:42:16 +0000 (13:42 -0700)] 
test: disable use of ksh in a test that would otherwise hang

* t/tests-environment-fd-redirect.sh: This test would hang when
using ksh93 from Fedora 34 and CentOS 8.  Comments demonstrate
the issue reported as https://github.com/ksh93/ksh/issues/316

4 years agodoc: update THANKS.
Karl Berry [Mon, 12 Jul 2021 01:02:13 +0000 (18:02 -0700)] 
doc: update THANKS.

* THANKS: mention contributors over the past couple years.

4 years agodist: add new "dist-no-built-sources" automake option.
Allison Karlitskaya [Fri, 9 Jul 2021 16:03:30 +0000 (09:03 -0700)] 
dist: add new "dist-no-built-sources" automake option.

Fixes automake bug https://debbugs.gnu.org/49317.

* bin/automake.in: implement new option "no-dist-built-sources" to
omit the dependency of distdir on $(BUILT_SOURCES).  (Allison's
original patch used the option name dist-pure; trivially renamed.)
* lib/am/distdir.am (distdir) [DIST_BUILT_SOURCES]: conditionalize
the dependency.
* lib/Automake/Options.pm (_is_valid_easy_option): list it.
* doc/automake.texi (List of Automake options): document it.
* NEWS: mention it.
* t/dist-no-built-sources.sh: test it.
* t/list-of-tests.mk (handwritten_TESTS): add it.

4 years agomaint: missed commits.
Karl Berry [Thu, 8 Jul 2021 01:00:21 +0000 (18:00 -0700)] 
maint: missed commits.

* INSTALL: Update from gnulib via make fetch.
* NEWS: mention config.{guess,sub} restoration of `...`.

4 years agomaint: Update files from upstream with 'make fetch'
Karl Berry [Tue, 6 Jul 2021 01:59:51 +0000 (18:59 -0700)] 
maint: Update files from upstream with 'make fetch'

* 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.

4 years agotests: forgot to remove dev exit 33 from new test.
Karl Berry [Tue, 6 Jul 2021 01:12:41 +0000 (18:12 -0700)] 
tests: forgot to remove dev exit 33 from new test.

* t/toplevelmd.sh: normal ending.

4 years agodist: accept .md versions for README et al.
Karl Berry [Fri, 2 Jul 2021 01:21:51 +0000 (18:21 -0700)] 
dist: accept .md versions for README et al.

This change was suggested by madmurphy; some ideas were taken
from the patch he provided.
https://lists.gnu.org/archive/html/automake-patches/2021-06/msg00005.html

* bin/automake.in (@toplevelmd_ok): new global, listing the files
for which we will accept .md versions.
(@common_files): remove those files from there.
(handle_dist): check for .md if non-.md is absent.
(handle_minor_options): check for README-alpha.md.
(check_gnu_standards): accept .md version if present.
(check_gnits_standards): likewise.
(usage): output list of .md-accepted files.
* doc/automake.texi (Basics of Distribution): document.

* t/toplevelmd.sh: new test.
* t/list-of-tests.mk (handwritten_tests): add it.
* NEWS: mention new feature.

4 years agodoc: omit "really" from manual.
Karl Berry [Wed, 9 Jun 2021 00:58:10 +0000 (17:58 -0700)] 
doc: omit "really" from manual.

* doc/automake.texi: remove or replace "really".

4 years agodoc: --always-make doesn't work.
Karl Berry [Tue, 8 Jun 2021 01:09:25 +0000 (18:09 -0700)] 
doc: --always-make doesn't work.

* doc/automake.texi (Rebuilding): the GNU Make option
--always-make does not work with Automake.
Report from Johan Persson,
https://lists.gnu.org/archive/html/automake/2021-06/msg00002.html.
Also, use "GNU Make" (capital M) more consistently.

4 years agodoc: wording.
Karl Berry [Wed, 19 May 2021 01:34:56 +0000 (18:34 -0700)] 
doc: wording.

* README:
* t/python-virtualenv.sh:
* doc/automake.texi: wording, typos, etc.

4 years agodoc: move future 2.0 incompatibilities to separate file.
Karl Berry [Wed, 19 May 2021 01:11:02 +0000 (18:11 -0700)] 
doc: move future 2.0 incompatibilities to separate file.

* NEWS: move info to ...
* NEWS-2.0: ... this new file.
* Makefile.am (EXTRA_DIST): add it.

4 years agopython: new python-prefix test.
Karl Berry [Tue, 18 May 2021 22:12:56 +0000 (15:12 -0700)] 
python: new python-prefix test.

* t/python-prefix.sh: new test.
* t/list-of-tests.mk (handwritten_tests): add it.
* NEWS: describe new Python prefix behavior.

4 years agopython: use Python's sys.prefix and sys.exec_prefix
Joshua Root [Tue, 18 May 2021 22:11:59 +0000 (15:11 -0700)] 
python: use Python's sys.prefix and sys.exec_prefix

for PYTHON_PREFIX and PYTHON_EXEC_PREFIX; new configure options
--with-python_prefix and --with-python_exec_prefix to set explicitly.

This change fixes https://bugs.gnu.org/35322.

* m4/python.m4 (AM_PATH_PYTHON): use Python's sys.prefix and
sys.exec_prefix for PYTHON_PREFIX and PYTHON_EXEC_PREFIX,
instead of $prefix and $exec_prefix. But use a variable
reference to ${prefix} if it is contained within sys.prefix;
similarly for exec_prefix. Also support new configure options
to set explicitly.
(PYTHON_PREFIX, PYTHON_EXEC_PREFIX): AC_SUBST these.
(am_cv_python_pythondir): use our new $am_cv_python_prefix,
substituting ${PYTHON_PREFIX}.
(am_cv_python_pyexecdir): likewise.
* doc/automake.texi (Python): PYTHON_PREFIX, PYTHON_EXEC_PREFIX,
document new approach.
* t/instmany-python.sh: set PYTHON_PREFIX as needed.
* t/python-vars.sh (PYTHON_EXEC_PREFIX, PYTHON_PREFIX): also set from
Python's sys.{exec_,}prefix; use ${PYTHON_{EXEC,}PREFIX} instead
of ${exec_,}prefix.

4 years agodoc: HACKING updates.
Karl Berry [Thu, 13 May 2021 01:08:02 +0000 (18:08 -0700)] 
doc: HACKING updates.

* HACKING: some additional tidbits.

4 years agoautomake: sort hash keys needed for reproducible output.
Dirk Mueller [Sat, 27 Feb 2021 17:14:47 +0000 (09:14 -0800)] 
automake: sort hash keys needed for reproducible output.

This change fixes https://bugs.gnu.org/46744.

* bin/automake.in: sort keys, in: handle_LIBOBJS, handle_clean,
 handle_factored_dependencies, scan_autoconf_traces,
 lang_vala_finish.
* NEWS: mention this.

4 years agodoc: a_LDFLAGS always overrides AM_LDFLAGS.
Karl Berry [Tue, 23 Feb 2021 02:23:16 +0000 (18:23 -0800)] 
doc: a_LDFLAGS always overrides AM_LDFLAGS.

This change addresses https://bugs.gnu.org/34925.

* doc/automake.texi (Program and Library Variables): document
that using a_LDFLAGS at all, even in the false branch of a
conditional, means that AM_LDFLAGS is ignored.

4 years agodoc: [AM_]RUNTESTFLAGS not [AM_]RUNTESTDEFAULTFLAGS.
Mike Frysinger [Mon, 22 Feb 2021 02:26:15 +0000 (18:26 -0800)] 
doc: [AM_]RUNTESTFLAGS not [AM_]RUNTESTDEFAULTFLAGS.

* doc/automake.texi (Other Variables): Change [AM_]RUNTESTDEFAULTFLAGS
to [AM_]RUNTESTFLAGS.

4 years agodoc: user flags last does not always allow overriding.
Karl Berry [Fri, 12 Feb 2021 02:05:15 +0000 (18:05 -0800)] 
doc: user flags last does not always allow overriding.

This change addresses https://bugs.gnu.org/35526.

* doc/automake.texi (Flag Variables Ordering): recognize that
user flags last does not always allow overriding.

4 years agodoc: discuss AC_* ordering a little.
Karl Berry [Thu, 7 Jan 2021 01:57:08 +0000 (17:57 -0800)] 
doc: discuss AC_* ordering a little.

* doc/automake.texi (Optional): mention that AC_CONFIG_AUX_DIR
must be called before AM_INIT_AUTOMAKE, and recommend that other
AC_CONFIG_* macros be called after.  This seems to be the most
common practice.  Autoconf does not currently impose ordering:
https://savannah.gnu.org/support/?110416

4 years agoFix some build and test failures with Autoconf 2.70.
Zack Weinberg [Mon, 14 Dec 2020 19:50:47 +0000 (14:50 -0500)] 
Fix some build and test failures with Autoconf 2.70.

Autoconf 2.70 (released last week) makes a few changes that broke Automake’s
expectations, mostly in the test suite.  This patch addresses two of the
problems:

 - autoconf now issues a warning if fed a configure script that doesn’t invoke
   both AC_INIT and AC_OUTPUT; this, plus a problem with system-provided
   tools (still under investigation) broke the *build* on macOS; it also
   causes a couple of spurious testsuite failures.

 - AC_PACKAGE_NAME and AC_PACKAGE_VERSION are now defined unconditionally.
   AM_INIT_AUTOMAKE needs to use m4_ifset instead of m4_ifdef to diagnose
   the obsolete use of AC_INIT with fewer than two arguments.  (This change
   is compatible with autoconf 2.69; m4_ifset is much older, and it means
   ‘defined with a non-empty value’.)

* configure.ac: Use both AC_INIT and AC_OUTPUT in test configure scripts.
* t/deprecated-acinit.sh, t/init.sh: Likewise.
* m4/init.m4 (AM_INIT_AUTOMAKE): Use m4_ifset, not m4_ifdef, to detect
  AC_PACKAGE_NAME and/or AC_PACKAGE_VERSION not having a value.

4 years agopython: don't assume $(...) in py-compile.
Karl Berry [Mon, 14 Dec 2020 02:34:35 +0000 (18:34 -0800)] 
python: don't assume $(...) in py-compile.

This change (very) partially fixes https://bugs.gnu.org/45205.

* lib/py-compile: use `...` instead of $(...).
Solaris 10 /bin/sh is still in use.

4 years agotests: more .NOTPARALLEL tests.
Karl Berry [Wed, 9 Dec 2020 23:02:19 +0000 (15:02 -0800)] 
tests: more .NOTPARALLEL tests.

* t/java-compile-run-nested.sh: .NOTPARALLEL in subdirs too.

4 years agotests: more .NOTPARALLEL tests.
Karl Berry [Tue, 8 Dec 2020 23:01:00 +0000 (15:01 -0800)] 
tests: more .NOTPARALLEL tests.

* contrib/t/multilib.sh: yet more .NOTPARALLEL for AM_TESTSUITE_MAKE,
found by Jim on heavier machines.
* t/autodist-stamp-vti.sh: likewise.
* t/java-compile-run-nested.sh: likewise.
* t/transform2.sh: likewise.

4 years agotests: more .NOTPARALLEL tests.
Karl Berry [Mon, 7 Dec 2020 23:53:01 +0000 (15:53 -0800)] 
tests: more .NOTPARALLEL tests.

* contrib/t/multilib.sh: use .NOTPARALLEL to avoid unreproducible
(and undebuggable, by me) test failures when running
  make -j$njobs AM_TESTSUITE_MAKE="make -j$njobs"
for some arbitrary but rather large value of $njobs.
The failures don't occur with just make -j; have to run the makes
inside the tests in parallel also.
* t/java-compile-install.sh: likewise.
* t/java-compile-run-flat.sh: likewise.
* t/java-uninstall.sh: likewise.
* t/vala-headers.sh: likewise.

4 years agodoc: comment Vala -newer test.
Karl Berry [Sun, 6 Dec 2020 02:19:18 +0000 (18:19 -0800)] 
doc: comment Vala -newer test.

This change updates https://bugs.gnu.org/44772.

* bin/automake.in (lang_vala_finish_target): comment that
we're checking "C file not older than Vala file", and the
log message misleadingly says "reversed".

4 years agotags: support setting CTAGS, ETAGS, CSCOPE vars via ./configure.
Reuben Thomas [Sun, 6 Dec 2020 02:11:55 +0000 (18:11 -0800)] 
tags: support setting CTAGS, ETAGS, CSCOPE vars via ./configure.

This change fixes https://bugs.gnu.org/45013.

* m4/init.m4: add default settings and AC_SUBST calls for the variables
  `CTAGS', `ETAGS' and `CSCOPE'.
* lib/am/tags.am: remove default settings of the above variables.
* doc/automake.texi (Tags): mention and index.
* NEWS: mention.

4 years agowarnings: be less forceful about a missing subdir-objects option.
Karl Berry [Thu, 3 Dec 2020 19:00:53 +0000 (11:00 -0800)] 
warnings: be less forceful about a missing subdir-objects option.

This change somewhat ameliorates https://bugs.gnu.org/20699.

* bin/automake.in (handle_single_transform): change
forward-incompatibility message for subdir-objects to be
less draconian and less certain that the change will ever be made.
* t/subobj.sh: message text has changed.
* doc/automake.texi (Program and Library Variables): mention
the unfortunate fact that one directory can clean in a sibling,
subdir-objects notwithstanding.

4 years agotests: .NOTPARALLEL test-driver-create-log-dir.
Karl Berry [Sat, 28 Nov 2020 02:07:10 +0000 (18:07 -0800)] 
tests: .NOTPARALLEL test-driver-create-log-dir.

* t/test-driver-create-log-dir.sh (.NOTPARALLEL): add target,
since the two tests under sub/ seem to have a race condition.
No evident way to debug or reliably reproduce. Reported by Jim.

4 years agovala: avoid wrong regeneration of C files.
Reuben Thomas [Sat, 28 Nov 2020 02:02:08 +0000 (18:02 -0800)] 
vala: avoid wrong regeneration of C files.

This change might fix https://bugs.gnu.org/44772.

* bin/automake.in (lang_val_finish_target): reverse -newer test
to handle files being created at the same time causing
spurious rebuilds.

4 years agodoc: typo.
Karl Berry [Tue, 24 Nov 2020 22:24:22 +0000 (14:24 -0800)] 
doc: typo.

This change fixes https://bugs.gnu.org/44845.

* doc/automake.texi (Vala Support): zardoz.c not zardoc.c.

4 years agotests: create log file before running the test script.
Karl Berry [Tue, 24 Nov 2020 02:04:56 +0000 (18:04 -0800)] 
tests: create log file before running the test script.

This change partially fixes https://bugs.gnu.org/35762.

* lib/test-driver: create $log_file before running the
test script. Also quote $log_file. Combined suggestions
from howaboutsynergy and Eric Blake.

4 years agodoc: mention overriding SUBDIRS= with TESTS= and recursive make.
Karl Berry [Sun, 22 Nov 2020 18:13:16 +0000 (10:13 -0800)] 
doc: mention overriding SUBDIRS= with TESTS= and recursive make.

This change palliates https://bugs.gnu.org/42883,
though it's not a real fix.

* doc/automake.texi (Parallel Test Harness): with recursive
make, when limiting the tests run, also presumably needed to
override SUBDIRS.

4 years agomaint: Post-release administrivia
Jim Meyering [Thu, 19 Nov 2020 04:19:12 +0000 (20:19 -0800)] 
maint: Post-release administrivia

* configure.ac (AC_INIT): Bump version number to 1.16b.
* m4/amversion.m4: Likewise (auto-updated by "make bootstrap").

4 years agoversion 1.16.3 v1.16.3
Jim Meyering [Thu, 19 Nov 2020 02:08:41 +0000 (18:08 -0800)] 
version 1.16.3

* configure.ac (AC_INIT): Bump version number to 1.16.3.
* m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
* NEWS: Record release version.

4 years agotests: correct preceding change.
Jim Meyering [Mon, 16 Nov 2020 17:50:04 +0000 (09:50 -0800)] 
tests: correct preceding change.

* t/auxdir-pr19311.sh: Fix error in case stmt and match more
upcoming versions.

4 years agotests: auxdir-pr19311.sh no longer fails with latest autoconf
Jim Meyering [Mon, 16 Nov 2020 17:34:23 +0000 (09:34 -0800)] 
tests: auxdir-pr19311.sh no longer fails with latest autoconf

* t/list-of-tests.mk (XFAIL_TESTS): Remove from this list.
* t/auxdir-pr19311.sh: Instead, run this test only when autoconf
is 2.69d or newer.  Otherwise, skip it.

4 years agomaint: placate maintainer-check's rm -f check
Jim Meyering [Mon, 16 Nov 2020 15:47:30 +0000 (07:47 -0800)] 
maint: placate maintainer-check's rm -f check

* t/vala-recursive-setup.sh: Add an unnecessary -f option
to an rm invocation to avoid "make maintainer-check" failure.

4 years agomaint: Update files from upstream with 'make fetch'
Jim Meyering [Mon, 16 Nov 2020 05:42:14 +0000 (21:42 -0800)] 
maint: Update files from upstream with 'make fetch'

* lib/config.guess: Update.
* lib/config.sub: Likewise.
* lib/texinfo.tex: Likewise.

4 years agotests: avoid missing .dvi failure with parallel tests
Jim Meyering [Mon, 16 Nov 2020 05:14:24 +0000 (21:14 -0800)] 
tests: avoid missing .dvi failure with parallel tests

* t/txinfo-no-clutter.sh: Tests of texinfo-related rules
had overlap that made them fail often when some rules were
run in parallel, so inhibit parallelism in that one directory.
See discussion starting at
https://lists.gnu.org/r/automake-patches/2020-11/msg00011.html

4 years agotests: protect against parallel false failure
Jim Meyering [Sun, 15 Nov 2020 17:00:37 +0000 (09:00 -0800)] 
tests: protect against parallel false failure

* t/parallel-tests-console-output.sh: Do not depend on the order
of items in test summary. With a parallel test run, they may
appear in a different order, e.g., when running tests like this:
  make check AM_TESTSUITE_MAKE='make -j14'
Sort the expected output and the actual output before comparing.

4 years agodoc: fix quoting in suggested parallel test invocation
Jim Meyering [Sun, 15 Nov 2020 16:12:40 +0000 (08:12 -0800)] 
doc: fix quoting in suggested parallel test invocation

* t/README: Fix reversed single/double quotes.

4 years agotests: accommodate an $ac_aux_dir of "." or "./"
Jim Meyering [Sun, 15 Nov 2020 04:19:28 +0000 (20:19 -0800)] 
tests: accommodate an $ac_aux_dir of "." or "./"

* t/auxdir-pr15981.sh: This test would fail when run with
autoconf-2.69d because $ac_aux_dir would be "./" rather than
the expected ".".  Accept both.

4 years agotests: avoid failures due to missing ar-lib
Jim Meyering [Sun, 15 Nov 2020 03:51:46 +0000 (19:51 -0800)] 
tests: avoid failures due to missing ar-lib

* t/ar4.sh: Create dummy ar-lib, as done in other tests,
to avoid failure like this:
configure: error: cannot find required auxiliary files: ar-lib
* t/ar5.sh: Likewise.

4 years agoinstall-sh: trailing whitespace.
Karl Berry [Sat, 14 Nov 2020 01:51:46 +0000 (17:51 -0800)] 
install-sh: trailing whitespace.

* lib/install-sh: remove trailing whitespace. Sigh.
(scriptversion): 2020-11-14.01

4 years agodejagnu: quote `pwd` when writing "set objdir" line to site.exp.
Robert Menteer [Sat, 14 Nov 2020 01:50:09 +0000 (17:50 -0800)] 
dejagnu: quote `pwd` when writing "set objdir" line to site.exp.

This change fixes https://bugs.gnu.org/44600.

* lib/am/dejagnu.am (site.exp): quote set objdir line.
* NEWS: mention this.

4 years agoinstall-sh: new option -S SUFFIX for simple file backups.
Karl Berry [Fri, 13 Nov 2020 01:49:31 +0000 (17:49 -0800)] 
install-sh: new option -S SUFFIX for simple file backups.

* lib/install-sh: implement and document -S.
Patch sent by Julien Elie:
        https://lists.gnu.org/archive/html/automake-patches/2018-03/msg00004.html
(scriptversion): 2020-11-13.01
* t/install-sh-option-S.sh: new test.
* t/list-of-tests.mk (handwritten_tests): add it.
* NEWS: mention it.

4 years agoinstall-sh: --help tweaks.
Karl Berry [Wed, 11 Nov 2020 02:18:35 +0000 (18:18 -0800)] 
install-sh: --help tweaks.

* lib/install-sh (usage): avoid too-long line, mention
bug reporting address (bug-automake) and automake home page.

4 years agoinstall-sh: new option -p to preserve mtime.
Karl Berry [Wed, 11 Nov 2020 02:03:47 +0000 (18:03 -0800)] 
install-sh: new option -p to preserve mtime.

* lib/install-sh: new option -p to call cp -p.
Idea from patch sent by Julien Elie:
https://lists.gnu.org/archive/html/automake-patches/2018-03/msg00002.html
(scriptversion): 2020-11-11.02
* NEWS: mention this.

2020-11-10  Karl Berry  <karl@freefriends.org>

4 years agovala: forgot to update lists-of-tests.mk.
Karl Berry [Wed, 11 Nov 2020 01:58:41 +0000 (17:58 -0800)] 
vala: forgot to update lists-of-tests.mk.

* t/list-of-tests.mk (handwritten_tests): include
t/vala-libs-distcheck.sh and t/vala-libs-vpath.sh.
Should have been committed with 2020-10-29 vala change,
but somehow missed.

2020-11-10  Karl Berry  <karl@freefriends.org>

4 years agoinstall-sh: do not chown existing directories.
Karl Berry [Wed, 11 Nov 2020 01:54:06 +0000 (17:54 -0800)] 
install-sh: do not chown existing directories.

* lib/install-sh: do not chown existing directories.
Original patch sent by Julien Elie:
https://lists.gnu.org/archive/html/automake-patches/2018-03/msg00003.html
(scriptversion): 2020-11-11.01
* NEWS: mention this.

4 years agoinstall-sh: do not redundantly specify -f to rm.
Karl Berry [Wed, 11 Nov 2020 01:48:35 +0000 (17:48 -0800)] 
install-sh: do not redundantly specify -f to rm.

* lib/install-sh: do not redundantly specify -f to rm.
Mention implication for RMPROG in the --help message.
Original patch sent by Julien Elie:
https://lists.gnu.org/archive/html/automake-patches/2018-03/msg00005.html
* NEWS: mention this.

4 years agovala: improve support, especially builddir vs. srcdir.
Reuben Thomas [Sun, 8 Nov 2020 02:44:56 +0000 (18:44 -0800)] 
vala: improve support, especially builddir vs. srcdir.

This change fixes https://bugs.gnu.org/13002.

* NEWS: mention these changes.
* bin/automake.in: generated C files go in builddir, not srcdir.
Distribute the header files generated from VAPI files.
* t/vala-libs-distcheck.sh: new test for `make distcheck' of a
Vala library.
* t/vala-libs-vpath.sh: new test for a VPATH build of a Vala library.
* t/vala-libs.sh: add local VAPIs used as external --package to test.

* t/vala-recursive-setup.sh: we need to make
maintainer-clean at one point to remove stamp files to avoid
confusing a VPATH build performed after a non-VPATH build.
* t/vala-non-recursive-setup.sh: likewise.

* t/vala-parallel.sh: some test paths need changing to take into
account that generated C files now go in builddir.
* t/vala-per-target-flags.sh: likewise.
* t/vala-recursive-setup.sh: likewise.
* t/vala-vpath.sh: likewise.

4 years agotests: recompute dependencies when lists-of-tests.mk changes.
Karl Berry [Sun, 8 Nov 2020 02:11:03 +0000 (18:11 -0800)] 
tests: recompute dependencies when lists-of-tests.mk changes.

This change fixes https://bugs.gnu.org/44458
and updates https://bugs.gnu.org/11347.

* t/local.mk ($(srcdir)/%D/testsuite-part.am): restore
dependency on '%D/list-of-tests.mk' (i.e., t/list-of-tests.mk),
partially reverting the change of 26 Apr 2012 for bug#11347.
Otherwise, new tests that have dependencies will not cause an
update of testsuite-part.am, leading to strange failures
(bug#44458). The original problem being fixed in #11347 was
unnecessary rebuilding when modifying tests; that should not be
affected here, but when new tests are added, it seems reasonable,
as well as necessary, to ensure dependencies are updated.

4 years agopython: determine Python (3.10) version number correctly.
Miro Hron\v{c}ok [Tue, 27 Oct 2020 21:33:46 +0000 (14:33 -0700)] 
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.)

4 years agodoc: correct "moved in", to "moved to"
Jim Meyering [Sat, 24 Oct 2020 04:13:09 +0000 (21:13 -0700)] 
doc: correct "moved in", to "moved to"

* NEWS: Correct wording.
* contrib/README: Likewise.
* doc/automake.texi: Likewise.

4 years agocontrib/README: fix and clarify the English
Reuben Thomas [Thu, 15 Oct 2020 12:11:11 +0000 (13:11 +0100)] 
contrib/README: fix and clarify the English

4 years agoImprove Vala compiler detection: use API version, not compiler version
Reuben Thomas [Wed, 21 Oct 2020 22:31:46 +0000 (23:31 +0100)] 
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.

4 years agoUse complete configure.ac’s in testsuite.
Zack Weinberg [Wed, 7 Oct 2020 13:19:06 +0000 (09:19 -0400)] 
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.

4 years agoautomake: install-exec did not depend on $(BUILT_SOURCES).
Karl Berry [Wed, 7 Oct 2020 01:16:14 +0000 (18:16 -0700)] 
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.

4 years agoUpdate documentation of warnings options and strictness levels.
Zack Weinberg [Mon, 21 Sep 2020 18:16:33 +0000 (14:16 -0400)] 
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.

4 years agoUse WARNINGS=none to suppress warnings from autom4te runs.
Zack Weinberg [Fri, 18 Sep 2020 17:40:20 +0000 (13:40 -0400)] 
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.

4 years agoNew utility function Automake::ChannelDefs::merge_WARNINGS.
Zack Weinberg [Sun, 13 Sep 2020 15:33:05 +0000 (11:33 -0400)] 
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.

4 years agot/python-virtualenv.sh: Skip when versions don’t match
Zack Weinberg [Sat, 12 Sep 2020 13:51:07 +0000 (09:51 -0400)] 
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.

4 years agoConsistently use ‘our’ instead of ‘use vars’.
Zack Weinberg [Fri, 11 Sep 2020 22:03:19 +0000 (18:03 -0400)] 
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.

4 years agoConsistently process -W(no-)error after all other warning options.
Zack Weinberg [Fri, 11 Sep 2020 20:17:41 +0000 (16:17 -0400)] 
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.

4 years agoSync ChannelDefs.pm from autoconf.
Zack Weinberg [Fri, 11 Sep 2020 18:23:10 +0000 (14:23 -0400)] 
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.

4 years agoautomake: be robust against directories containing ().
Zack Weinberg [Sun, 6 Sep 2020 01:12:48 +0000 (18:12 -0700)] 
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.

4 years agomaint: Update files from upstream with 'make fetch'
Issam E. Maghni [Wed, 2 Sep 2020 20:53:21 +0000 (20:53 +0000)] 
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>
4 years agoperl: use warnings instead of -w; consistent ordering of use, etc.
Zack Weinberg [Tue, 1 Sep 2020 01:31:04 +0000 (18:31 -0700)] 
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.

4 years agodocs: automake-history.texi @dircategory Software development.
Robert Wanamaker [Sat, 29 Aug 2020 00:29:06 +0000 (17:29 -0700)] 
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.

4 years agoautomake: if TEST_EXTENSIONS is set to empty, don't look inside it.
Karl Berry [Fri, 28 Aug 2020 23:26:54 +0000 (16:26 -0700)] 
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.

4 years agodocs: typo in tap-driver.sh.
Felix Yan [Fri, 14 Aug 2020 01:10:17 +0000 (18:10 -0700)] 
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.

5 years agoport XFile locking to OpenIndiana
Paul Eggert [Sat, 1 Aug 2020 23:12:34 +0000 (16:12 -0700)] 
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.

5 years ago* Update scriptversions for install-sh, mkinstalldirs.
Paul Eggert [Sun, 26 Jul 2020 22:12:08 +0000 (15:12 -0700)] 
* Update scriptversions for install-sh, mkinstalldirs.

5 years agoInstall directories mode 755 instead of using umask
Paul Eggert [Sun, 26 Jul 2020 22:01:34 +0000 (15:01 -0700)] 
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.

5 years agoautomake: remove stray up_to_date_p
Paul Eggert [Mon, 29 Jun 2020 22:18:20 +0000 (15:18 -0700)] 
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.

5 years agotests: support -fno-common in vala-mix2 test.
Karl Berry [Sat, 6 Jun 2020 22:47:33 +0000 (15:47 -0700)] 
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.

5 years agoautomake: support AM_TESTSUITE_SUMMARY_HEADER override.
Karl Berry [Sat, 6 Jun 2020 22:42:54 +0000 (15:42 -0700)] 
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.

5 years agodocs: promote Makefile snippets that work properly with make -n.
Akim Demaille [Fri, 29 May 2020 00:45:15 +0000 (17:45 -0700)] 
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.

5 years agodocs: forgot TAR in NEWS; fix " -- " in manual.
Karl Berry [Tue, 26 May 2020 01:30:53 +0000 (18:30 -0700)] 
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 " --".

5 years agodocs: TAR envvar overrides "tar" for make dist.
Karl Berry [Tue, 26 May 2020 01:20:01 +0000 (18:20 -0700)] 
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".

5 years agoautomake: new variable AM_DISTCHECK_DVI_TARGET to override "dvi".
Karl Berry [Sun, 17 May 2020 16:36:15 +0000 (09:36 -0700)] 
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.

5 years agoautomake: remove unused Automake::FileUtils::up_to_date_p function.
Karl Berry [Mon, 11 May 2020 00:40:14 +0000 (17:40 -0700)] 
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.

5 years agodocs: make dist implies make dvi.
Karl Berry [Fri, 8 May 2020 01:26:33 +0000 (18:26 -0700)] 
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.

5 years agotests: TeX system required for two more tests.
Karl Berry [Fri, 8 May 2020 01:11:49 +0000 (18:11 -0700)] 
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.

5 years agobug#40699: "dist Hook" documentation in manual is incorrect or unclear about write...
Vincent Lefevre [Thu, 23 Apr 2020 15:40:39 +0000 (17:40 +0200)] 
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

5 years agocosmetics: spurious word in README, copyright year.
Karl Berry [Sat, 18 Apr 2020 21:06:59 +0000 (14:06 -0700)] 
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

5 years agodocs: test-driver options do not accept =, update --help.
Samuel Tardieu [Thu, 9 Apr 2020 01:07:10 +0000 (18:07 -0700)] 
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.

5 years agocosmetics: typo in comment.
Samy Mahmoudi [Tue, 7 Apr 2020 01:25:24 +0000 (18:25 -0700)] 
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 ...".

5 years agovala: more precise argument matching.
Colomban Wendling [Mon, 6 Apr 2020 00:35:51 +0000 (17:35 -0700)] 
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).

5 years agodoc: update urls in manual and include checklinkx script.
Karl Berry [Wed, 1 Apr 2020 01:21:22 +0000 (18:21 -0700)] 
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.