]> git.proxmox.com Git - mirror_ovs.git/blame - python/ovs/automake.mk
Implement a new port setting "other-config:priority-tags".
[mirror_ovs.git] / python / ovs / automake.mk
CommitLineData
99155935
BP
1run_python = PYTHONPATH=$(top_srcdir)/python:$$PYTHON_PATH $(PYTHON)
2
3ovs_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
25EXTRA_DIST += $(ovs_pyfiles) python/ovs/dirs.py
26
27if HAVE_PYTHON
28nobase_pkgdata_DATA = $(ovs_pyfiles)
29ovs-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
40else
41ovs-install-data-local:
42 @:
99155935
BP
43endif
44install-data-local: ovs-install-data-local
45
44852fdf 46UNINSTALL_LOCAL += ovs-uninstall-local
99155935
BP
47ovs-uninstall-local:
48 rm -f $(DESTDIR)$(pkgdatadir)/python/ovs/dirs.py