RHEL8 Sphinx does not support all features used in ARM building. But
with few emitted warnings it can build the documentation fine. Simplify
warnings acceptance by allowing make doc SPHINX_W=''.
(cherry picked from commit
3db7e241d25e7c6d50c7a8a26c84e84c0f7344c7)
# You can set these variables from the command line.
SPHINXBUILD = @SPHINX_BUILD@
SPHINXBUILDDIR = ${builddir}/_build
+SPHINX_W = -W
common_SPHINXOPTS = \
- -W \
+ $(SPHINX_W) \
-a \
-v \
-c "${abs_srcdir}"