html: Set CONTENTS_OUTPUT_LOCATION=inline if makeinfo supports it
authorArsen Arsenović <arsen@aarsen.me>
Thu, 9 Mar 2023 20:44:29 +0000 (21:44 +0100)
committerArsen Arsenović <arsen@aarsen.me>
Tue, 21 Mar 2023 08:47:34 +0000 (09:47 +0100)
commit0395e1364dd969e5845d4b9198e6f8c28b297d36
tree93415e7121dd22a64e1d83cf9c2db7642e28ecf7
parente54b01a101a54bd6f91abc49424cfc5ac0f904ed
html: Set CONTENTS_OUTPUT_LOCATION=inline if makeinfo supports it

This flag allows us to restore old (pre-6.8) behavior of the
@{summary,}content commands, so that texi2any continues to emit
summarycontents first.

maintainer-scripts/ChangeLog:

* update_web_docs_git: Set CONTENTS_OUTPUT_LOCATION=inline in
order to put @shortcontents above contents.

gcc/ChangeLog:

* configure.ac: Add check for the Texinfo 6.8
CONTENTS_OUTPUT_LOCATION customization variable and set it if
supported.
* configure: Regenerate.
* Makefile.in (MAKEINFO_TOC_INLINE_FLAG): New variable.  Set by
configure.ac to -c CONTENTS_OUTPUT_LOCATION=inline if
CONTENTS_OUTPUT_LOCATION support is detected, empty otherwise.
($(build_htmldir)/%/index.html): Pass MAKEINFO_TOC_INLINE_FLAG.
gcc/Makefile.in
gcc/configure
gcc/configure.ac
maintainer-scripts/update_web_docs_git