X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-python-agent%2FMakefile.am;h=e2a15f48da8898a1c5263737ef2b58ef5cf87598;hb=044a659dc04c796c6f552a1198e21656769b9f57;hp=f80b8a3f04a026cb7eba5ee2d2747c930477ab8a;hpb=f018237c0b19ca18ac95d1584e3acd5602d666eb;p=lttng-ust.git diff --git a/liblttng-ust-python-agent/Makefile.am b/liblttng-ust-python-agent/Makefile.am index f80b8a3f..e2a15f48 100644 --- a/liblttng-ust-python-agent/Makefile.am +++ b/liblttng-ust-python-agent/Makefile.am @@ -15,16 +15,16 @@ all-local: $(PYTHON) setup.py build --verbose install-exec-local: - if [ "$(DESTDIR)" = "" ]; then \ - $(PYTHON) setup.py install --prefix=$(prefix) --record install_files.txt --verbose --no-compile $(DISTSETUPOPTS); \ - else \ - $(PYTHON) setup.py install --root=$(DESTDIR) --verbose install_files.txt --prefix=$(prefix) --no-compile $(DISTSETUPOPTS); \ - fi + @opts="--prefix=$(prefix) --verbose --no-compile $(DISTSETUPOPTS)"; \ + if [ "$(DESTDIR)" != "" ]; then \ + opts="$$opts --root=$(DESTDIR)"; \ + fi; \ + $(PYTHON) setup.py install $$opts; + clean-local: rm -rf build uninstall-local: - cat install_files.txt | xargs rm -rf rm -rf $(DESTDIR)$(pkgpythondir) EXTRA_DIST=$(agent_path)