* [PATCH] sphinx: more build fixing if sphinx-build is missing
@ 2022-11-13 21:10 Stephan Bergmann
0 siblings, 0 replies; only message in thread
From: Stephan Bergmann @ 2022-11-13 21:10 UTC (permalink / raw)
To: gcc-patches; +Cc: Martin Liška
...similar to 1f9c79367e136e0ca5b775562e6111e1a0d0046f "sphinx: fix
building if
sphinx-build is missing"
gcc/ChangeLog:
* fortran/Make-lang.in: Build info pages conditionally.
---
gcc/fortran/Make-lang.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc/fortran/Make-lang.in b/gcc/fortran/Make-lang.in
index 48acbed1754..852b6f3327f 100644
--- a/gcc/fortran/Make-lang.in
+++ b/gcc/fortran/Make-lang.in
@@ -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
SOURCEDIR=$(abs_srcdir)/fortran/doc/gfortran
BUILDDIR=$(objdir)/doc/gfortran/man SPHINXBUILD=$(SPHINX_BUILD)
+ + if [ x$(HAS_SPHINX_BUILD) = xhas-sphinx-build ]; then \
+ make -C $(srcdir)/../doc man
SOURCEDIR=$(abs_srcdir)/fortran/doc/gfortran
BUILDDIR=$(objdir)/doc/gfortran/man SPHINXBUILD=$(SPHINX_BUILD) \
+ else true; fi
fortran.man: $(F95_MANFILES)
--
2.38.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-13 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-13 21:10 [PATCH] sphinx: more build fixing if sphinx-build is missing Stephan Bergmann
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).