doc/*.html \
doc/*.in \
doc/*.pdf \
+ $(patsubst %.dot,%.png,$(docdot)) \
doc/rapi-resources.sgml \
doc/examples/ganeti.initd \
doc/examples/ganeti.cron \
lib/cmdlib.py \
lib/config.py \
lib/constants.py \
+ lib/daemon.py \
lib/errors.py \
lib/http.py \
lib/jqueue.py \
lib/jstore.py \
lib/locking.py \
- lib/logger.py \
lib/luxi.py \
lib/mcpu.py \
lib/objects.py \
rapi_PYTHON = \
lib/rapi/__init__.py \
- lib/rapi/httperror.py \
lib/rapi/baserlib.py \
lib/rapi/connector.py \
lib/rapi/rlib1.py \
doc/iallocator.sgml
docrst = \
- doc/design-2.0-commandline-parameters.rst \
- doc/design-2.0-disk-handling.rst \
- doc/design-2.0-index.rst \
- doc/design-2.0-job-queue.rst \
- doc/design-2.0-locking.rst \
- doc/design-2.0-master-daemon.rst
+ doc/design-2.0.rst \
+ doc/security.rst
+
+docdot = \
+ doc/arch-2.0.dot
doc_DATA = \
$(patsubst %.rst,%.html,$(docrst)) \
autotools/docbook-wrapper \
devel/upload.in \
$(docrst) \
+ $(docdot) \
$(docsgml) \
doc/build-rapi-resources-doc \
doc/examples/ganeti.initd.in \
test/data/proc_drbd8.txt
dist_TESTS = \
+ test/ganeti.bdev_unittest.py \
+ test/ganeti.cli_unittest.py \
+ test/ganeti.cmdlib_unittest.py \
test/ganeti.config_unittest.py \
+ test/ganeti.constants_unittest.py \
test/ganeti.hooks_unittest.py \
- test/ganeti.utils_unittest.py \
- test/ganeti.bdev_unittest.py \
- test/ganeti.ssh_unittest.py \
+ test/ganeti.http_unittest.py \
test/ganeti.locking_unittest.py \
- test/ganeti.serializer_unittest.py \
- test/ganeti.workerpool_unittest.py \
test/ganeti.rapi.resources_unittest.py \
- test/ganeti.http_unittest.py \
- test/ganeti.constants_unittest.py
+ test/ganeti.serializer_unittest.py \
+ test/ganeti.ssh_unittest.py \
+ test/ganeti.utils_unittest.py \
+ test/ganeti.workerpool_unittest.py
nodist_TESTS =
sed -f $(REPLACE_VARS_SED) < $< > $@
doc/%.pdf: doc/%.in $(DOCBOOK_WRAPPER)
- $(DOCBOOK_WRAPPER) $< $@
+ $(DOCBOOK_WRAPPER) "$(DOCBOOK2PDF)" $< $@
doc/%.html: doc/%.in $(DOCBOOK_WRAPPER)
- $(DOCBOOK_WRAPPER) $< $@
+ $(DOCBOOK_WRAPPER) "$(DOCBOOK2HTML) --nochunks" $< $@
doc/%.html: doc/%.rst
$(RST2HTML) $< $@
-doc/rapi.pdf doc/rapi.html: doc/rapi-resources.sgml
+doc/%.png: doc/%.dot
+ $(DOT) -Tpng -o $@ $<
+
+doc/design-2.0.html: doc/design-2.0.rst doc/arch-2.0.png
+
+doc/rapi.pdf doc/rapi.html doc/rapi.in: doc/rapi-resources.sgml
doc/rapi-resources.sgml: $(BUILD_RAPI_RESOURCE_DOC) lib/rapi/connector.py
PYTHONPATH=.:$(top_builddir) $(BUILD_RAPI_RESOURCE_DOC) > $@ || rm -f $@
man/%.7: man/%.in man/footer.sgml $(DOCBOOK_WRAPPER)
- $(DOCBOOK_WRAPPER) $< $@
+ $(DOCBOOK_WRAPPER) "$(DOCBOOK2MAN)" $< $@
man/%.8: man/%.in man/footer.sgml $(DOCBOOK_WRAPPER)
- $(DOCBOOK_WRAPPER) $< $@
+ $(DOCBOOK_WRAPPER) "$(DOCBOOK2MAN)" $< $@
man/footer.sgml $(TESTS): srclinks
.PHONY: ganeti
ganeti:
- cd $(top_builddir) && rm -f $@ && $(LN_S) lib $@
+ cd $(top_builddir) && test -h "$@" || { rm -f $@ && $(LN_S) lib $@; }
# a dist hook rule for catching revision control directories
distcheck-hook: