maintainer-scripts: Add Modula-2 manual to update_web_docs_git

maintainer-scripts/ChangeLog:

	* update_web_docs_git (MANUALS): Add gm2.
	Add include path for gm2 manual.
This commit is contained in:
Gaius Mulley 2023-03-17 00:08:20 +01:00 committed by Gerald Pfeifer
parent 78b3bf0e65
commit fa4d0ab533

View file

@ -24,6 +24,7 @@ MANUALS="cpp
gdc
gfortran
gfc-internals
gm2
gnat_ugn
gnat-style
gnat_rm
@ -167,7 +168,10 @@ for file in $MANUALS; do
filename=`find . -name ${file}.texi`
if [ "${filename}" ]; then
includes="-I ${includedir} -I `dirname ${filename}`"
if [ "$file" = "gnat_ugn" ]; then
if [ "$file" = "gm2" ]; then
includes="$includes -I gcc/gcc/m2/target-independent"
includes="$includes -I gcc/gcc/m2/target-independent/m2"
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}