aboutsummaryrefslogtreecommitdiff
path: root/maintainer-scripts/update_web_docs_git
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2023-03-09 21:44:29 +0100
committerArsen Arsenović <arsen@aarsen.me>2023-03-21 09:47:34 +0100
commit0395e1364dd969e5845d4b9198e6f8c28b297d36 (patch)
tree93415e7121dd22a64e1d83cf9c2db7642e28ecf7 /maintainer-scripts/update_web_docs_git
parente54b01a101a54bd6f91abc49424cfc5ac0f904ed (diff)
downloadgcc-0395e1364dd969e5845d4b9198e6f8c28b297d36.zip
gcc-0395e1364dd969e5845d4b9198e6f8c28b297d36.tar.gz
gcc-0395e1364dd969e5845d4b9198e6f8c28b297d36.tar.bz2
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.
Diffstat (limited to 'maintainer-scripts/update_web_docs_git')
-rwxr-xr-xmaintainer-scripts/update_web_docs_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainer-scripts/update_web_docs_git b/maintainer-scripts/update_web_docs_git
index 084f09f..d44ab27 100755
--- a/maintainer-scripts/update_web_docs_git
+++ b/maintainer-scripts/update_web_docs_git
@@ -174,7 +174,7 @@ for file in $MANUALS; do
elif [ "$file" = "gnat_ugn" ]; then
includes="$includes -I gcc/gcc/ada -I gcc/gcc/ada/doc/gnat_ugn"
fi
- makeinfo --html --css-ref $CSS $includes -o ${file} ${filename}
+ makeinfo --html -c CONTENTS_OUTPUT_LOCATION=inline --css-ref $CSS $includes -o ${file} ${filename}
tar cf ${file}-html.tar ${file}/*.html
texi2dvi $includes -o ${file}.dvi ${filename} </dev/null >/dev/null && dvips -o ${file}.ps ${file}.dvi
texi2pdf $includes -o ${file}.pdf ${filename} </dev/null