aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/python/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 90075f7a..8f80a6be 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -93,8 +93,8 @@ install-exec-local:
done
uninstall-local:
- GV=$$(echo $(VERSION) | tr - _); for PYTHON in $(PYTHONS); do \
- PLATLIB="$(prefix)/$$("$${PYTHON}" -c 'import sysconfig, os; print(os.path.relpath(sysconfig.get_path("platlib"), sysconfig.get_config_var("prefix")))')" ; \
+ set -x; GV=$$(echo $(VERSION) | tr - _); for PYTHON in $(PYTHONS); do \
+ PLATLIB="$(prefix)/$$("$${PYTHON}" -c 'import sysconfig, os; print(os.path.relpath(sysconfig.get_path("platlib", scheme="posix_prefix"), sysconfig.get_config_var("prefix")))')" ; \
rm -rf -- "$(DESTDIR)$${PLATLIB}/gpg" \
"$(DESTDIR)$${PLATLIB}"/gpg-$$GV-py*.egg-info ; \
done