mirror of git://gcc.gnu.org/git/gcc.git
sphinx: fix building if sphinx-build is missing
libgomp/ChangeLog: * Makefile.in: Build info pages conditionally. libitm/ChangeLog: * Makefile.in: Build info pages conditionally. libquadmath/ChangeLog: * Makefile.in: Build info pages conditionally.
This commit is contained in:
parent
4287e8168f
commit
1f9c79367e
|
@ -1304,7 +1304,10 @@ stamp-geninsrc: doc/info/texinfo/libgomp.info
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
doc/info/texinfo/libgomp.info: $(SPHINX_FILES)
|
doc/info/texinfo/libgomp.info: $(SPHINX_FILES)
|
||||||
+ make -C $(srcdir)/../doc info SOURCEDIR=$(abs_srcdir)/doc BUILDDIR=$(abs_doc_builddir)/info SPHINXBUILD=$(SPHINX_BUILD)
|
+ if [ x$(HAS_SPHINX_BUILD) = xhas-sphinx-build ]; then \
|
||||||
|
make -C $(srcdir)/../doc info SOURCEDIR=$(abs_srcdir)/doc BUILDDIR=$(abs_doc_builddir)/info SPHINXBUILD=$(SPHINX_BUILD); \
|
||||||
|
else true; fi
|
||||||
|
|
||||||
|
|
||||||
# target overrides
|
# target overrides
|
||||||
-include $(tmake_file)
|
-include $(tmake_file)
|
||||||
|
|
|
@ -1121,7 +1121,10 @@ stamp-geninsrc: doc/info/texinfo/libitm.info
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
doc/info/texinfo/libitm.info: $(SPHINX_FILES)
|
doc/info/texinfo/libitm.info: $(SPHINX_FILES)
|
||||||
+ make -C $(srcdir)/../doc info SOURCEDIR=$(abs_srcdir)/doc BUILDDIR=$(abs_doc_builddir)/info SPHINXBUILD=$(SPHINX_BUILD)
|
+ if [ x$(HAS_SPHINX_BUILD) = xhas-sphinx-build ]; then \
|
||||||
|
make -C $(srcdir)/../doc info SOURCEDIR=$(abs_srcdir)/doc BUILDDIR=$(abs_doc_builddir)/info SPHINXBUILD=$(SPHINX_BUILD); \
|
||||||
|
else true; fi
|
||||||
|
|
||||||
|
|
||||||
# GNU Make needs to see an explicit $(MAKE) variable in the command it
|
# GNU Make needs to see an explicit $(MAKE) variable in the command it
|
||||||
# runs to enable its job server during parallel builds. Hence the
|
# runs to enable its job server during parallel builds. Hence the
|
||||||
|
|
|
@ -1374,7 +1374,9 @@ SPHINX_FILES:=$(RST_FILES) $(SPHINX_CONFIG_FILES)
|
||||||
export BUGURL=$(REPORT_BUGS_TO)
|
export BUGURL=$(REPORT_BUGS_TO)
|
||||||
|
|
||||||
doc/info/texinfo/libquadmath.info: $(SPHINX_FILES)
|
doc/info/texinfo/libquadmath.info: $(SPHINX_FILES)
|
||||||
+ make -C $(srcdir)/../doc info SOURCEDIR=$(abs_srcdir)/doc BUILDDIR=$(abs_doc_builddir)/info SPHINXBUILD=$(SPHINX_BUILD)
|
+ if [ x$(HAS_SPHINX_BUILD) = xhas-sphinx-build ]; then \
|
||||||
|
make -C $(srcdir)/../doc info SOURCEDIR=$(abs_srcdir)/doc BUILDDIR=$(abs_doc_builddir)/info SPHINXBUILD=$(SPHINX_BUILD); \
|
||||||
|
else true; fi
|
||||||
|
|
||||||
# GNU Make needs to see an explicit $(MAKE) variable in the command it
|
# GNU Make needs to see an explicit $(MAKE) variable in the command it
|
||||||
# runs to enable its job server during parallel builds. Hence the
|
# runs to enable its job server during parallel builds. Hence the
|
||||||
|
|
Loading…
Reference in New Issue