Skip to contentSkip to conversation

master - python: fix Makefile installation path

PATCH Alasdair Kergon 1 participant 1 message Jul 24, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=462df8d89df2b87bbdb11c31b0b94523dea7aa28
Commit:        462df8d89df2b87bbdb11c31b0b94523dea7aa28
Parent:        f5a205668b9965a7a2471d9e7cbcd3db49a495c7
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Wed Jul 24 21:52:39 2013 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Wed Jul 24 21:52:39 2013 +0100

python: fix Makefile installation path

Use --prefix rather than --root.
(Needs more thorough investigation, but this seems to avoid /usr/usr paths.)

---
 python/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
python/Makefile.in +1 -1
index fd529b8..c9572d8 100644
@@ -27,7 +27,7 @@ liblvm_python.c:
 include $(top_builddir)/make.tmpl
 
 install_python_bindings: python_bindings
-	$(PYTHON) setup.py install --skip-build --root $(DESTDIR)$(prefix)
+	$(PYTHON) setup.py install --skip-build --prefix $(prefix)
 
 install_lvm2: install_python_bindings