devel \
doc \
doc/examples \
+ doc/examples/hooks \
lib \
lib/http \
lib/hypervisor \
CLEANFILES = \
autotools/replace_vars.sed \
+ daemons/ganeti-cleaner \
devel/upload \
doc/rapi-resources.gen \
doc/examples/bash_completion \
scripts/gnt-node \
scripts/gnt-os
+nodist_sbin_SCRIPTS = \
+ daemons/ganeti-cleaner
+
dist_tools_SCRIPTS = \
tools/burnin \
tools/cfgshell \
$(MAINTAINERCLEANFILES) \
NEWS \
DEVNOTES \
+ pylintrc \
autotools/docbook-wrapper \
+ daemons/ganeti-cleaner.in \
devel/upload.in \
$(docrst) \
$(docdot) \
doc/examples/ganeti.initd.in \
doc/examples/ganeti.cron.in \
doc/examples/dumb-allocator \
+ doc/examples/hooks/ethers \
doc/locking.txt \
test/testutils.py \
test/mocks.py \
$(REPLACE_VARS_SED)
sed -f $(REPLACE_VARS_SED) < $< > $@
+daemons/ganeti-cleaner: daemons/ganeti-cleaner.in stamp-directories \
+ $(REPLACE_VARS_SED)
+ sed -f $(REPLACE_VARS_SED) < $< > $@
+ chmod +x $@
+
doc/%.html: doc/%.rst
@test -n "$(RST2HTML)" || { echo 'rst2html' not found during configure; exit 1; }
$(RST2HTML) $< $@
echo "KVM_PATH = '$(KVM_PATH)'"; \
echo "KVM_MIGRATION_PORT = '$(KVM_MIGRATION_PORT)'"; \
echo "SOCAT_PATH = '$(SOCAT_PATH)'"; \
+ echo "LVM_STRIPECOUNT = $(LVM_STRIPECOUNT)" ; \
} > $@
$(REPLACE_VARS_SED): Makefile stamp-directories
echo 's#@CUSTOM_XEN_KERNEL@#$(XEN_KERNEL)#g'; \
echo 's#@CUSTOM_XEN_INITRD@#$(XEN_INITRD)#g'; \
echo 's#@RPL_FILE_STORAGE_DIR@#$(FILE_STORAGE_DIR)#g'; \
+ echo 's#@PKGLIBDIR@#$(pkglibdir)#g'; \
} > $@
# We need to create symlinks because "make distcheck" will not install Python