From 8a34b8fe86cc3a879f154a9d57334c1bfb69ead1 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 22 Jan 2011 08:04:32 +0000 Subject: More Ubuntu weirdness: distutils.sysconfig.get_python_lib() says /usr/lib/blah, but distutils installs in /usr/local/lib/blah, so we can't figure out where it is when we want to deinstall. Feh. Revert first attempt to hack around this, as it didn't help and just broke things on Fedora too. svn path=/rpkid/Makefile.in; revision=3632 --- rpkid/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpkid/Makefile.in b/rpkid/Makefile.in index 8c9c2569..99a8be23 100644 --- a/rpkid/Makefile.in +++ b/rpkid/Makefile.in @@ -58,10 +58,10 @@ clean:: rm -f ${SCRIPTS} install: - ${SETUP_PY} install --prefix '${prefix}' + ${SETUP_PY} install uninstall deinstall: - dir=`${PYTHON} -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib("${prefix}")'`; \ + dir=`${PYTHON} -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()'`; \ egg=`${PYTHON} setup.py --fullname`; \ rm -rfv $$dir/rpki $$dir/$$egg-*.egg-info; \ for i in ${SCRIPTS}; do rm -fv ${sbindir}/$$i; done -- cgit v1.2.3