diff options
author | Rob Austein <sra@hactrn.net> | 2011-01-22 08:04:32 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-01-22 08:04:32 +0000 |
commit | 8a34b8fe86cc3a879f154a9d57334c1bfb69ead1 (patch) | |
tree | 5e283449c95d0f40de79ab208d77747f5400b1df | |
parent | 2dc060bca79d8d557216dfe6ca99210ec67f5fa3 (diff) |
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
-rw-r--r-- | rpkid/Makefile.in | 4 |
1 files 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 |