[Rivet-svn] r2147 - trunk/pyext

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Dec 8 14:04:50 GMT 2009


Author: buckley
Date: Tue Dec  8 14:04:50 2009
New Revision: 2147

Log:
Be more generic about the lib directories from which Python modules will be uninstalled (ideally we'd get the path from Python, but I tried this before and couldn't figure out how to do it from the Python distutils API.)

Modified:
   trunk/pyext/Makefile.am

Modified: trunk/pyext/Makefile.am
==============================================================================
--- trunk/pyext/Makefile.am	Tue Dec  8 13:13:59 2009	(r2146)
+++ trunk/pyext/Makefile.am	Tue Dec  8 14:04:50 2009	(r2147)
@@ -15,8 +15,8 @@
 	$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
 
 uninstall-local:
-	rm -rf $(DESTDIR)$(libdir)/python*/site-packages/*rivet*
-	rm -rf $(DESTDIR)$(libdir)/python*/site-packages/lighthisto.py*
+	rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/*rivet*
+	rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/lighthisto.py*
 
 clean-local:
 	$(PYTHON) setup.py clean --all


More information about the Rivet-svn mailing list