bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch: Ensure that makeinfo ≥ 6.8 checks the @menu structure


From: Bruno Haible
Subject: patch: Ensure that makeinfo ≥ 6.8 checks the @menu structure
Date: Fri, 23 Jun 2023 01:50:51 +0200

Makeinfo versions < 6.7 detected mistakes in the @menu structure of TeXinfo
input. Makeinfo versions ≥ 6.8 don't do this any more by default. They need
an extra option, for this validation to happen. See
<https://lists.gnu.org/archive/html/bug-texinfo/2023-06/msg00015.html>.

Since doc/sed.texi has a hand-written @menu, it should use this extra
option.

Here's a patch to that effect.

There are two possibilities for adding the extra option:
  - in the MAKEINFO variable, where it has an effect on both "makeinfo"
    and "makeinfo --html",
  - in the AM_MAKEINFOFLAGS variable, where it has an effect on "makeinfo"
    only.
Since some maintainers may check their documentation edits only by regenerating
the HTML-formatted documentation, the first choice is preferrable.

Tested by running
  touch doc/m4.texi ; (cd doc && make m4.info V=1)

Attachment: 0001-build-Ensure-that-makeinfo-6.8-checks-the-menu-struc.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]