Skip to content

Commit

Permalink
maintainer-scripts: Fix jit documentation build with update_web_docs_git
Browse files Browse the repository at this point in the history
scripts/update_web_docs_git -r 9.3.0 -d gcc-9.3.0
failed after the sourceware upgrade, there is no python-sphinx10 package and
python3-sphinx is new enough that the docs build succeeded.

2020-03-12  Jakub Jelinek  <[email protected]>

	* update_web_docs_git: Drop SPHINXBUILD=/usr/bin/sphinx-1.0-build.
  • Loading branch information
jakubjelinek committed Mar 12, 2020
1 parent 1dc00a8 commit a0ae4cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions maintainer-scripts/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2020-03-12 Jakub Jelinek <[email protected]>

* update_web_docs_git: Drop SPHINXBUILD=/usr/bin/sphinx-1.0-build.

2020-02-27 Jakub Jelinek <[email protected]>

* gcc_release: Add support for -b local-git-repo argument.
Expand Down
5 changes: 3 additions & 2 deletions maintainer-scripts/update_web_docs_git
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,16 @@ done
# defaulting to "sphinx-build".
#
# sphinx is packaged in Fedora and EPEL 6 within "python-sphinx",
# in RHEL 8 within "python3-sphinx",
# and in openSUSE within "python-Sphinx".
#
# For EPEL6, python-sphinx is sphinx 0.6.6, which is missing various
# directives (e.g. ":c:macro:"), so we need the variant
# python-sphinx10 package. The latter installs its executable as
# /usr/bin/sphinx-1.0-build
# so we need to override SPHINXBUILD with this when invoking "make".
# so we needed to override SPHINXBUILD with this when invoking "make".
pushd gcc/gcc/jit/docs
make SPHINXBUILD=/usr/bin/sphinx-1.0-build html || true
make html || true
popd
cp -a gcc/gcc/jit/docs/_build/html jit
mkdir -p $DOCSDIR/jit
Expand Down

0 comments on commit a0ae4cb

Please sign in to comment.