python: Fix distcheck.
* lang/python/Makefile.am (uninstall-local): Explicitly request the
scheme 'posix_prefix'. On Python2.7 the default scheme is
'posix_local', breaking distcheck.
Fixes-commit: 25e6444b3f
Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
3cc90b67fa
commit
db476e9234
@ -93,8 +93,8 @@ install-exec-local:
|
|||||||
done
|
done
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
GV=$$(echo $(VERSION) | tr - _); for PYTHON in $(PYTHONS); do \
|
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"), sysconfig.get_config_var("prefix")))')" ; \
|
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" \
|
rm -rf -- "$(DESTDIR)$${PLATLIB}/gpg" \
|
||||||
"$(DESTDIR)$${PLATLIB}"/gpg-$$GV-py*.egg-info ; \
|
"$(DESTDIR)$${PLATLIB}"/gpg-$$GV-py*.egg-info ; \
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user