Statistics
| Branch: | Tag: | Revision:

root / lib / Makefile.am @ 2f31098c

History | View | Annotate | Download (866 Bytes)

1 f491c3a8 Michael Hanselmann
SSH_INITD_SCRIPT = @SSH_INITD_SCRIPT@
2 8e587e52 Michael Hanselmann
3 f491c3a8 Michael Hanselmann
CLEANFILES = $(nodist_pkgpython_PYTHON) *.py[oc]
4 c6b8baba Michael Hanselmann
5 2ec08468 Michael Hanselmann
nodist_pkgpython_PYTHON = _autoconf.py
6 a8083063 Iustin Pop
pkgpython_PYTHON = __init__.py backend.py cli.py cmdlib.py config.py \
7 a8083063 Iustin Pop
	objects.py errors.py logger.py ssh.py utils.py rpc.py \
8 a8083063 Iustin Pop
	bdev.py hypervisor.py opcodes.py mcpu.py constants.py \
9 a8083063 Iustin Pop
	ssconf.py
10 2ec08468 Michael Hanselmann
11 8e587e52 Michael Hanselmann
all-local: _autoconf.py
12 8e587e52 Michael Hanselmann
13 2ec08468 Michael Hanselmann
_autoconf.py: Makefile
14 2ec08468 Michael Hanselmann
	{ echo '# This file is automatically generated, do not edit!'; \
15 2f31098c Iustin Pop
	  echo '#'; \
16 2ec08468 Michael Hanselmann
	  echo "PACKAGE_VERSION = '$(PACKAGE_VERSION)'"; \
17 2ec08468 Michael Hanselmann
	  echo "LOCALSTATEDIR = '$(localstatedir)'"; \
18 2ec08468 Michael Hanselmann
	  echo "SYSCONFDIR = '$(sysconfdir)'"; \
19 f491c3a8 Michael Hanselmann
	  echo "SSH_INITD_SCRIPT = '$(SSH_INITD_SCRIPT)'"; \
20 68dccc07 Guido Trotter
	  echo "EXPORT_DIR = '$(EXPORT_DIR)'"; \
21 7c3d51d4 Guido Trotter
	  echo "OS_SEARCH_PATH = [$(OS_SEARCH_PATH)]"; \
22 2ec08468 Michael Hanselmann
	} > $@
23 9ff7e35c Michael Hanselmann
24 9ff7e35c Michael Hanselmann
pre-check: all
25 9ff7e35c Michael Hanselmann
	for i in $(pkgpython_PYTHON); do \
26 9ff7e35c Michael Hanselmann
		if test ! -f $$i; then $(LN_S) $(srcdir)/$$i $$i; fi; \
27 9ff7e35c Michael Hanselmann
	done