-
-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))
-
-dist_sbin_SCRIPTS = \
- daemons/ganeti-noded \
- daemons/ganeti-watcher \
- daemons/ganeti-masterd \
- daemons/ganeti-rapi \
+http_PYTHON = \
+ lib/http/__init__.py \
+ lib/http/auth.py \
+ lib/http/client.py \
+ lib/http/server.py
+
+confd_PYTHON = \
+ lib/confd/__init__.py \
+ lib/confd/client.py \
+ lib/confd/server.py \
+ lib/confd/querylib.py
+
+docrst = \
+ doc/admin.rst \
+ doc/design-2.0.rst \
+ doc/design-2.1.rst \
+ doc/devnotes.rst \
+ doc/glossary.rst \
+ doc/hooks.rst \
+ doc/iallocator.rst \
+ doc/index.rst \
+ doc/install.rst \
+ doc/locking.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 \
+ doc/design-2.1-lock-acquire.dot \
+ doc/design-2.1-lock-release.dot
+
+docpng = $(patsubst %.dot,%.png,$(docdot))
+
+noinst_DATA = $(manhtml) doc/html
+
+gnt_scripts = \