From: Bruno Haible Date: Thu, 22 Jun 2023 23:41:41 +0000 (+0200) Subject: build: Ensure that makeinfo ≥ 6.8 checks the @menu structure. X-Git-Tag: v0.23~421 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b36b04108785c2a1fdc14b5b3402c67eaa8dabf;p=thirdparty%2Fgettext.git build: Ensure that makeinfo ≥ 6.8 checks the @menu structure. See . * gettext-tools/doc/Makefile.am (MAKEINFO): Add option "-c CHECK_NORMAL_MENU_STRUCTURE=1". --- diff --git a/gettext-tools/doc/Makefile.am b/gettext-tools/doc/Makefile.am index cbe144c33..47574e1ec 100644 --- a/gettext-tools/doc/Makefile.am +++ b/gettext-tools/doc/Makefile.am @@ -1,6 +1,5 @@ ## Makefile for the gettext-tools/doc subdirectory of GNU gettext -## Copyright (C) 1995-1997, 2001-2007, 2009, 2013-2015, 2018-2020 Free -## Software Foundation, Inc. +## Copyright (C) 1995-2023 Free Software Foundation, Inc. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -33,7 +32,11 @@ TEXINCLUDES = -I $(top_srcdir)/../gettext-runtime/doc SED = sed RM = rm -f -MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@ +# The customization variable CHECK_NORMAL_MENU_STRUCTURE is necessary with +# makeinfo versions ≥ 6.8. +MAKEINFO = \ + env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= \ + @MAKEINFO@ -c CHECK_NORMAL_MENU_STRUCTURE=1 MAKEINFOFLAGS = $(TEXINCLUDES) --no-split info_TEXINFOS = gettext.texi