From: Petr Menšík Date: Mon, 26 Sep 2022 11:52:20 +0000 (+0200) Subject: Simplify allowing warnings during ARM build X-Git-Tag: v9.19.6~36^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3db7e241d25e7c6d50c7a8a26c84e84c0f7344c7;p=thirdparty%2Fbind9.git Simplify allowing warnings during ARM build 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=''. --- diff --git a/Makefile.docs b/Makefile.docs index 4a7b8e597a0..13692895cd0 100644 --- a/Makefile.docs +++ b/Makefile.docs @@ -2,6 +2,7 @@ SPHINX_V = $(SPHINX_V_@AM_V@) SPHINX_V_ = $(SPHINX_V_@AM_DEFAULT_V@) SPHINX_V_0 = -q SPHINX_V_1 = -n +SPHINX_W = -W AM_V_SPHINX = $(AM_V_SPHINX_@AM_V@) AM_V_SPHINX_ = $(AM_V_SPHINX_@AM_DEFAULT_V@) @@ -20,7 +21,7 @@ SESSION_KEY = .. |session_key| replace:: ``$(runstatedir)/session.key`` export RST_EPILOG = $(RNDC_CONF)$(LF)$(RNDC_KEY)$(LF)$(NAMED_CONF)$(LF)$(BIND_KEYS)$(LF)$(NAMED_PID)$(LF)$(SESSION_KEY) common_SPHINXOPTS = \ - -W \ + $(SPHINX_W) \ -c $(srcdir) \ -a \ $(SPHINX_V)