python: Remove native code from babeltrace package
[babeltrace.git] / bindings / python / babeltrace / Makefile.am
CommitLineData
45dc11d3
JG
1INIT_PY = __init__.py
2INIT_PY_IN = $(srcdir)/$(INIT_PY).in
45dc11d3
JG
3
4all-local: $(INIT_PY)
5
6$(INIT_PY): $(INIT_PY_IN)
7 sed "s/BABELTRACE_VERSION_STR/$(PACKAGE_VERSION)/g" < $< > $@
8
4505828d
JG
9EXTRA_DIST = common.py reader.py writer.py $(INIT_PY_IN)
10nodist_btpackage_PYTHON = $(INIT_PY) common.py reader.py writer.py
6027e07b 11SCRIPT_LIST = common.py reader.py writer.py
45dc11d3
JG
12
13btpackagedir = $(pythondir)/babeltrace
45dc11d3 14
4505828d 15CLEANFILES = $(INIT_PY)
6027e07b
JG
16
17all-local:
18 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
19 for script in $(SCRIPT_LIST); do \
20 cp -f $(srcdir)/$$script $(builddir); \
21 done; \
22 fi
23
24clean-local:
25 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
26 for script in $(SCRIPT_LIST); do \
27 rm -f $(builddir)/$$script; \
28 done; \
29 fi
This page took 0.032521 seconds and 4 git commands to generate.