cc289895e42f1b6cd4474b8c2ac9e2c02d4e0c95
[lttng-ust.git] / python-lttngust / Makefile.am
1 # Use setup.py for the installation instead of Autoconf.
2 # This ease the installation process and assure a *pythonic*
3 # installation.
4 agent_path=lttngust
5 all-local:
6 $(PYTHON) setup.py build --verbose
7
8 install-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
15 clean-local:
16 rm -rf build
17
18 uninstall-local:
19 rm -rf $(DESTDIR)$(pkgpythondir)
20
21 EXTRA_DIST=$(agent_path)
22
23 # Remove automake generated file before dist
24 dist-hook:
25 rm -rf $(distdir)/$(agent_path)/__init__.py
This page took 0.02978 seconds and 3 git commands to generate.