public inbox for
 help / color / mirror / Atom feed
From: Stephan Bergmann <>
Cc: "Martin Liška" <>
Subject: [PATCH] sphinx: more build fixing if sphinx-build is missing
Date: Sun, 13 Nov 2022 22:10:34 +0100	[thread overview]
Message-ID: <> (raw)

...similar to 1f9c79367e136e0ca5b775562e6111e1a0d0046f "sphinx: fix 
building if
sphinx-build is missing"


         * fortran/ Build info pages conditionally.
  gcc/fortran/ | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gcc/fortran/ b/gcc/fortran/
index 48acbed1754..852b6f3327f 100644
--- a/gcc/fortran/
+++ b/gcc/fortran/
@@ -161,7 +161,9 @@ fortran.install-pdf: $(F95_PDFFILES)
  F95_MANFILES = doc/gfortran/man/man/gfortran.1

  doc/gfortran/man/man/gfortran.1: $(SPHINX_FILES)
-	+ make -C $(srcdir)/../doc man 
BUILDDIR=$(objdir)/doc/gfortran/man SPHINXBUILD=$(SPHINX_BUILD)
+	+ if [ x$(HAS_SPHINX_BUILD) = xhas-sphinx-build ]; then \
+	  make -C $(srcdir)/../doc man 
BUILDDIR=$(objdir)/doc/gfortran/man SPHINXBUILD=$(SPHINX_BUILD) \
+	else true; fi $(F95_MANFILES)


                 reply	other threads:[~2022-11-13 21:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).