2 INIT_PY_IN = $(srcdir)/$(INIT_PY).in
6 $(INIT_PY): $(INIT_PY_IN)
7 sed "s/BABELTRACE_VERSION_STR/$(PACKAGE_VERSION)/g" < $< > $@
9 EXTRA_DIST = common.py reader.py writer.py $(INIT_PY_IN)
10 nodist_btpackage_PYTHON = $(INIT_PY) common.py reader.py writer.py
11 SCRIPT_LIST = common.py reader.py writer.py
13 btpackagedir = $(pythondir)/babeltrace
15 CLEANFILES = $(INIT_PY)
18 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
19 for script in $(SCRIPT_LIST); do \
20 cp -f $(srcdir)/$$script $(builddir); \
25 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
26 for script in $(SCRIPT_LIST); do \
27 rm -f $(builddir)/$$script; \