diff options
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 22 | ||||
-rw-r--r-- | maintainer-scripts/crontab | 9 | ||||
-rwxr-xr-x | maintainer-scripts/gcc_release | 2 | ||||
-rwxr-xr-x | maintainer-scripts/update_web_docs_git | 27 |
4 files changed, 44 insertions, 16 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 2322249..8b2ffca 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,25 @@ +2025-05-23 Richard Biener <rguenther@suse.de> + + * update_web_docs_git: Conditionalize libgdiagnostic processing + on presence. + +2025-04-25 Jakub Jelinek <jakub@redhat.com> + + * gcc_release: Allow optional \[[0-9]+\] before GCC major.minor + in the NEWS file. + +2025-04-17 Jakub Jelinek <jakub@redhat.com> + + * crontab: Snapshots from trunk are now GCC 16 related. + Add GCC 15 snapshots from the respective branch. + +2025-04-07 Jakub Jelinek <jakub@redhat.com> + + PR web/119227 + * update_web_docs_git: Rename mdoc2pdf_html to cobol_mdoc2pdf_html, + perform mkdir -p $DOCSDIR/gcobol gcobol, remove $d/ from pdf and in + html replace it with gcobol/; update uses of the renamed function. + 2025-03-31 Jakub Jelinek <jakub@redhat.com> PR other/119510 diff --git a/maintainer-scripts/crontab b/maintainer-scripts/crontab index 7bb7362..c880d7d 100644 --- a/maintainer-scripts/crontab +++ b/maintainer-scripts/crontab @@ -1,7 +1,8 @@ 16 0 * * * sh /home/gccadmin/scripts/update_version_git 50 0 * * * sh /home/gccadmin/scripts/update_web_docs_git 55 0 * * * sh /home/gccadmin/scripts/update_web_docs_libstdcxx_git -32 22 * * 4 sh /home/gccadmin/scripts/gcc_release -s 12:releases/gcc-12 -l -d /sourceware/snapshot-tmp/gcc all -32 22 * * 5 sh /home/gccadmin/scripts/gcc_release -s 13:releases/gcc-13 -l -d /sourceware/snapshot-tmp/gcc all -32 22 * * 6 sh /home/gccadmin/scripts/gcc_release -s 14:releases/gcc-14 -l -d /sourceware/snapshot-tmp/gcc all -32 22 * * 7 sh /home/gccadmin/scripts/gcc_release -s 15:master -l -d /sourceware/snapshot-tmp/gcc all +32 22 * * 3 sh /home/gccadmin/scripts/gcc_release -s 12:releases/gcc-12 -l -d /sourceware/snapshot-tmp/gcc all +32 22 * * 4 sh /home/gccadmin/scripts/gcc_release -s 13:releases/gcc-13 -l -d /sourceware/snapshot-tmp/gcc all +32 22 * * 5 sh /home/gccadmin/scripts/gcc_release -s 14:releases/gcc-14 -l -d /sourceware/snapshot-tmp/gcc all +32 22 * * 6 sh /home/gccadmin/scripts/gcc_release -s 15:releases/gcc-15 -l -d /sourceware/snapshot-tmp/gcc all +32 22 * * 7 sh /home/gccadmin/scripts/gcc_release -s 16:master -l -d /sourceware/snapshot-tmp/gcc all diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 2ead4a7..c7af3fd 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -141,7 +141,7 @@ build_sources() { "in gcc-${RELEASE_MAJOR}/index.html" sed -n -e "/^${thischanges}/,/^${previndex}/p" NEWS |\ - grep -q "^[[:blank:]]*GCC ${RELEASE_MAJOR}.${RELEASE_MINOR}" ||\ + grep -q "^[[:blank:]]*\(\[[0-9]\{1,\}\][[:blank:]]*\)\{0,1\}GCC ${RELEASE_MAJOR}.${RELEASE_MINOR}" ||\ error "GCC ${RELEASE_MAJOR}.${RELEASE_MINOR} not mentioned "\ "in gcc-${RELEASE_MAJOR}/changes.html" diff --git a/maintainer-scripts/update_web_docs_git b/maintainer-scripts/update_web_docs_git index 574397c..00334dd 100755 --- a/maintainer-scripts/update_web_docs_git +++ b/maintainer-scripts/update_web_docs_git @@ -205,11 +205,12 @@ done # # The COBOL FE maintains man pages. Convert them to HTML and PDF. # -mdoc2pdf_html() { +cobol_mdoc2pdf_html() { + mkdir -p $DOCSDIR/gcobol gcobol input="$1" d="${input%/*}" - pdf="$d/$2" - html="$d/$3" + pdf="$2" + html="gcobol/$3" groff -mdoc -T pdf "$input" > "${pdf}~" mv "${pdf}~" "${pdf}" mandoc -T html "$filename" > "${html}~" @@ -221,10 +222,10 @@ find . -name gcobol.[13] | do case ${filename##*.} in 1) - mdoc2pdf_html "$filename" gcobol.pdf gcobol.html + cobol_mdoc2pdf_html "$filename" gcobol.pdf gcobol.html ;; 3) - mdoc2pdf_html "$filename" gcobol_io.pdf gcobol_io.html + cobol_mdoc2pdf_html "$filename" gcobol_io.pdf gcobol_io.html ;; esac done @@ -241,11 +242,15 @@ popd cp -a gcc/gcc/jit/docs/_build/html jit mkdir -p $DOCSDIR/jit -pushd gcc/gcc/doc/libgdiagnostics -make html SPHINXBUILD=$SPHINX_VENV/bin/sphinx-build || true -popd -cp -a gcc/gcc/doc/libgdiagnostics/_build/html libgdiagnostics -mkdir -p $DOCSDIR/libgdiagnostics +LIBGDIAGNOSTICS= +if test -d gcc/gcc/doc/libgdiagnostics; then + pushd gcc/gcc/doc/libgdiagnostics + make html SPHINXBUILD=$SPHINX_VENV/bin/sphinx-build || true + popd + cp -a gcc/gcc/doc/libgdiagnostics/_build/html libgdiagnostics + mkdir -p $DOCSDIR/libgdiagnostics + LIBGDIAGNOSTICS=libgdiagnostics +fi # Work around makeinfo generated file names and references with # "_002d" instead of "-". @@ -297,7 +302,7 @@ done # below them, and with some non-HTML files (.png images from us, # plus .css and .js supplied by sphinx, and source files, renamed # from .rst to .txt). -find jit libgdiagnostics \ +find jit $LIBGDIAGNOSTICS \ -name "*.html" -o -name "*.png" \ -o -name "*.css" -o -name "*.js" \ -o -name "*.txt" | |