Fix: include config.h to resolve HAVE_DLMOPEN
[lttng-ust.git] / python-lttngust / Makefile.am
CommitLineData
5b6ff569
PP
1# Use setup.py for the installation instead of Autoconf.
2# This ease the installation process and assure a *pythonic*
3# installation.
4agent_path=lttngust
5all-local:
6 $(PYTHON) setup.py build --verbose
7
8install-exec-local:
9 @opts="--prefix=$(prefix) --verbose --no-compile $(DISTSETUPOPTS)"; \
10 if [ "$(DESTDIR)" != "" ]; then \
11 opts="$$opts --root=$(DESTDIR)"; \
12 fi; \
13 $(PYTHON) setup.py install $$opts;
14
15clean-local:
16 rm -rf build
17
18uninstall-local:
19 rm -rf $(DESTDIR)$(pkgpythondir)
20
21EXTRA_DIST=$(agent_path)
22
23# Remove automake generated file before dist
24dist-hook:
25 rm -rf $(distdir)/$(agent_path)/__init__.py
This page took 0.023807 seconds and 4 git commands to generate.