]>
Commit | Line | Data |
---|---|---|
99155935 BP |
1 | run_python = PYTHONPATH=$(top_srcdir)/python:$$PYTHON_PATH $(PYTHON) |
2 | ||
3 | ovs_pyfiles = \ | |
4 | python/ovs/__init__.py \ | |
5 | python/ovs/daemon.py \ | |
6 | python/ovs/db/__init__.py \ | |
7 | python/ovs/db/data.py \ | |
8 | python/ovs/db/error.py \ | |
9 | python/ovs/db/idl.py \ | |
10 | python/ovs/db/parser.py \ | |
11 | python/ovs/db/schema.py \ | |
12 | python/ovs/db/types.py \ | |
13 | python/ovs/fatal_signal.py \ | |
14 | python/ovs/json.py \ | |
15 | python/ovs/jsonrpc.py \ | |
16 | python/ovs/ovsuuid.py \ | |
17 | python/ovs/poller.py \ | |
18 | python/ovs/process.py \ | |
19 | python/ovs/reconnect.py \ | |
20 | python/ovs/socket_util.py \ | |
21 | python/ovs/stream.py \ | |
22 | python/ovs/timeval.py \ | |
8ed182d8 | 23 | python/ovs/vlog.py \ |
99155935 BP |
24 | python/ovs/util.py |
25 | EXTRA_DIST += $(ovs_pyfiles) python/ovs/dirs.py | |
26 | ||
27 | if HAVE_PYTHON | |
28 | nobase_pkgdata_DATA = $(ovs_pyfiles) | |
29 | ovs-install-data-local: | |
30 | $(MKDIR_P) python/ovs | |
b43c6fe2 BP |
31 | (echo "import os" && \ |
32 | echo 'PKGDATADIR = os.environ.get("OVS_PKGDATADIR", """$(pkgdatadir)""")' && \ | |
33 | echo 'RUNDIR = os.environ.get("OVS_RUNDIR", """@RUNDIR@""")' && \ | |
34 | echo 'LOGDIR = os.environ.get("OVS_LOGDIR", """@LOGDIR@""")' && \ | |
35 | echo 'BINDIR = os.environ.get("OVS_BINDIR", """$(bindir)""")') \ | |
36 | > python/ovs/dirs.py.tmp | |
99155935 BP |
37 | $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/python/ovs |
38 | $(INSTALL_DATA) python/ovs/dirs.py.tmp $(DESTDIR)$(pkgdatadir)/python/ovs/dirs.py | |
39 | rm python/ovs/dirs.py.tmp | |
955400fb BP |
40 | else |
41 | ovs-install-data-local: | |
42 | @: | |
99155935 BP |
43 | endif |
44 | install-data-local: ovs-install-data-local | |
45 | ||
44852fdf | 46 | UNINSTALL_LOCAL += ovs-uninstall-local |
99155935 BP |
47 | ovs-uninstall-local: |
48 | rm -f $(DESTDIR)$(pkgdatadir)/python/ovs/dirs.py |