summaryrefslogtreecommitdiff
blob: adc2813d6a30d87c0dfa1f2d3b487f25b7055b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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