- lib/rapi/RESTHTTPServer.py \
- lib/rapi/httperror.py \
- lib/rapi/resources.py
-
-
-docsgml = \
- doc/hooks.sgml \
- doc/install.sgml \
- doc/admin.sgml \
- doc/rapi.sgml \
- doc/iallocator.sgml
-
-doc_DATA = \
- $(patsubst %.sgml,%.html,$(docsgml)) \
- $(patsubst %.sgml,%.pdf,$(docsgml))
+ lib/rapi/baserlib.py \
+ lib/rapi/connector.py \
+ lib/rapi/rlib2.py
+
+http_PYTHON = \
+ lib/http/__init__.py \
+ lib/http/auth.py \
+ lib/http/client.py \
+ lib/http/server.py
+
+
+docrst = \
+ doc/admin.rst \
+ doc/design-2.0.rst \
+ doc/glossary.rst \
+ doc/hooks.rst \
+ doc/iallocator.rst \
+ doc/index.rst \
+ doc/install.rst \
+ doc/rapi.rst \
+ doc/security.rst
+
+doc/html: $(docrst) $(docpng) doc/conf.py configure.ac
+ @test -n "$(SPHINX)" || \
+ { echo 'sphinx-build' not found during configure; exit 1; }
+ mkdir -p doc/build/doctrees
+ PYTHONPATH=.:$(top_builddir) sphinx-build -q -b html \
+ -d doc/build/doctrees \
+ -D version="$(VERSION_MAJOR).$(VERSION_MINOR)" \
+ -D release="$(PACKAGE_VERSION)" \
+ $(top_srcdir)/doc doc/html
+ touch "$@"
+
+docdot = \
+ doc/arch-2.0.dot
+
+docpng = $(patsubst %.dot,%.png,$(docdot))
+
+noinst_DATA = $(manhtml) doc/html