summaryrefslogtreecommitdiff
path: root/app-emulation/ganeti/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-emulation/ganeti/files
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'app-emulation/ganeti/files')
-rw-r--r--app-emulation/ganeti/files/ganeti-2.15-disable-docs.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/app-emulation/ganeti/files/ganeti-2.15-disable-docs.patch b/app-emulation/ganeti/files/ganeti-2.15-disable-docs.patch
new file mode 100644
index 000000000000..adc2813d6a30
--- /dev/null
+++ b/app-emulation/ganeti/files/ganeti-2.15-disable-docs.patch
@@ -0,0 +1,44 @@
+--- a/Makefile.am 2020-08-04 18:21:12.395282115 +0000
++++ b/Makefile.am 2020-08-04 18:21:48.636729501 +0000
+@@ -1160,41 +1160,6 @@
+ # has to exist in order for the sphinx module to be loaded
+ # successfully, but we certainly don't want the docs to be rebuilt if
+ # it changes
+-doc/html/index.html doc/man-html/index.html: $(docinput) doc/conf.py \
+- configure.ac $(RUN_IN_TEMPDIR) lib/build/sphinx_ext.py \
+- lib/build/shell_example_lexer.py lib/ht.py \
+- doc/css/style.css lib/rapi/connector.py lib/rapi/rlib2.py \
+- autotools/sphinx-wrapper | $(built_python_sources)
+- @test -n "$(SPHINX)" || \
+- { echo 'sphinx-build' not found during configure; exit 1; }
+-if !MANPAGES_IN_DOC
+- if test -n '$(ENABLE_MANPAGES)'; then \
+- echo 'Man pages in documentation were disabled at configure time' >&2; \
+- exit 1; \
+- fi
+-endif
+-## Sphinx provides little control over what content should be included. Some
+-## mechanisms exist, but they all have drawbacks or actual issues. Since we
+-## build two different versions of the documentation--once without man pages and
+-## once, if enabled, with them--some control is necessary. xmpp-wrapper provides
+-## us with this, but requires running in a temporary directory. It moves the
+-## correct files into place depending on environment variables.
+- dir=$(dir $@) && \
+- @mkdir_p@ $$dir && \
+- PYTHONPATH=. ENABLE_MANPAGES=$(ENABLE_MANPAGES) COPY_DOC=1 \
+- HTML_THEME=$(SPHINX_HTML_THEME) \
+- $(RUN_IN_TEMPDIR) autotools/sphinx-wrapper $(SPHINX) -q -W -b html \
+- -d . \
+- -D version="$(VERSION_MAJOR).$(VERSION_MINOR)" \
+- -D release="$(PACKAGE_VERSION)" \
+- -D graphviz_dot="$(DOT)" \
+- doc $(CURDIR)/$$dir && \
+- rm -f $$dir/.buildinfo $$dir/objects.inv
+- touch $@
+-
+-doc/html: doc/html/index.html
+-
+-doc/man-html: doc/man-html/index.html
+
+ doc/install-quick.rst: INSTALL
+ doc/news.rst: NEWS