]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Simplify allowing warnings during ARM build
authorPetr Menšík <pemensik@redhat.com>
Mon, 26 Sep 2022 11:52:20 +0000 (13:52 +0200)
committerPetr Špaček <pspacek@isc.org>
Mon, 26 Sep 2022 15:30:48 +0000 (17:30 +0200)
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)

doc/man/Makefile.in

index db25228aa71976ae098ce66b7736b55519e97217..75794f77413f5549a4c0a65ae874f0475fcfabcf 100644 (file)
@@ -158,9 +158,10 @@ BIND9_VERSIONSTRING=@BIND9_VERSIONSTRING@
 # 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}"