1 CLEANFILES = $(nodist_pkgpython_PYTHON) *.py[oc]
3 nodist_pkgpython_PYTHON = _autoconf.py
4 pkgpython_PYTHON = __init__.py backend.py cli.py cmdlib.py config.py \
5 objects.py errors.py logger.py ssh.py utils.py rpc.py \
6 bdev.py hypervisor.py opcodes.py mcpu.py constants.py \
7 ssconf.py locking.py luxi.py jqueue.py
9 all-local: _autoconf.py
11 _autoconf.py: Makefile
12 { echo '# This file is automatically generated, do not edit!'; \
14 echo "PACKAGE_VERSION = '$(PACKAGE_VERSION)'"; \
15 echo "VERSION_MAJOR = '$(VERSION_MAJOR)'"; \
16 echo "VERSION_MINOR = '$(VERSION_MINOR)'"; \
17 echo "VERSION_REVISION = '$(VERSION_REVISION)'"; \
18 echo "VERSION_SUFFIX = '$(VERSION_SUFFIX)'"; \
19 echo "VERSION_FULL = '$(VERSION_FULL)'"; \
20 echo "LOCALSTATEDIR = '$(localstatedir)'"; \
21 echo "SYSCONFDIR = '$(sysconfdir)'"; \
22 echo "SSH_INITD_SCRIPT = '$(SSH_INITD_SCRIPT)'"; \
23 echo "EXPORT_DIR = '$(EXPORT_DIR)'"; \
24 echo "OS_SEARCH_PATH = [$(OS_SEARCH_PATH)]"; \
25 echo "XEN_KERNEL = '$(XEN_KERNEL)'"; \
26 echo "XEN_INITRD = '$(XEN_INITRD)'"; \
27 echo "FILE_STORAGE_DIR = '$(FILE_STORAGE_DIR)'"; \
31 for i in $(pkgpython_PYTHON); do \
32 if test ! -f $$i; then $(LN_S) $(srcdir)/$$i $$i; fi; \