1 # Use setup.py for the installation instead of Autoconf.
2 # This ease the installation process and assure a *pythonic*
6 $(PYTHON) setup.py build --verbose
9 @opts="--prefix=$(prefix) --verbose --no-compile $(DISTSETUPOPTS)"; \
10 if [ "$(DESTDIR)" != "" ]; then \
11 opts="$$opts --root=$(DESTDIR)"; \
13 $(PYTHON) setup.py install $$opts;
19 rm -rf $(DESTDIR)$(pkgpythondir)
21 EXTRA_DIST=$(agent_path)
23 # Remove automake generated file before dist
25 rm -rf $(distdir)/$(agent_path)/__init__.py