suricata: don't use sphinx-build -W (equivalent to -Werror), unbreaks build

with newer sphinx
This commit is contained in:
sthen 2022-07-09 08:50:32 +00:00
parent 0ab4acd441
commit 76f1ba3107

View File

@ -0,0 +1,34 @@
Index: doc/userguide/Makefile.in
--- doc/userguide/Makefile.in.orig
+++ doc/userguide/Makefile.in
@@ -1,3 +1,4 @@
+
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# @configure_input@
@@ -622,14 +623,14 @@ uninstall-man: uninstall-man1
@HAVE_SPHINXBUILD_TRUE@ sysconfdir=$(sysconfdir) \
@HAVE_SPHINXBUILD_TRUE@ localstatedir=$(localstatedir) \
@HAVE_SPHINXBUILD_TRUE@ version=$(PACKAGE_VERSION) \
-@HAVE_SPHINXBUILD_TRUE@ $(SPHINX_BUILD) -W -b html -d _build/doctrees \
+@HAVE_SPHINXBUILD_TRUE@ $(SPHINX_BUILD) -b html -d _build/doctrees \
@HAVE_SPHINXBUILD_TRUE@ $(top_srcdir)/doc/userguide _build/html
@HAVE_SPHINXBUILD_TRUE@_build/latex/Suricata.pdf:
@HAVE_SPHINXBUILD_TRUE@ sysconfdir=$(sysconfdir) \
@HAVE_SPHINXBUILD_TRUE@ localstatedir=$(localstatedir) \
@HAVE_SPHINXBUILD_TRUE@ version=$(PACKAGE_VERSION) \
-@HAVE_SPHINXBUILD_TRUE@ $(SPHINX_BUILD) -W -b latex -d _build/doctrees \
+@HAVE_SPHINXBUILD_TRUE@ $(SPHINX_BUILD) -b latex -d _build/doctrees \
@HAVE_SPHINXBUILD_TRUE@ $(top_srcdir)/doc/userguide _build/latex
# The Sphinx generated Makefile is GNU Make specific, so just do what
# it does here - yes, multiple passes of pdflatex is required.
@@ -649,7 +650,7 @@ uninstall-man: uninstall-man1
@HAVE_SPHINXBUILD_TRUE@ sysconfdir=$(sysconfdir) \
@HAVE_SPHINXBUILD_TRUE@ localstatedir=$(localstatedir) \
@HAVE_SPHINXBUILD_TRUE@ version=$(PACKAGE_VERSION) \
-@HAVE_SPHINXBUILD_TRUE@ $(SPHINX_BUILD) -W -b man -d _build/doctrees \
+@HAVE_SPHINXBUILD_TRUE@ $(SPHINX_BUILD) -b man -d _build/doctrees \
@HAVE_SPHINXBUILD_TRUE@ $(top_srcdir)/doc/userguide _build/man
@HAVE_SPHINXBUILD_TRUE@ touch _build/man