summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2013-07-19 20:48:41 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2013-07-22 12:41:22 +0200
commit03efb7c2e121d68ba39691b796dae8c9606108d4 (patch)
tree18c0a2c55f583cb70a0aef7e68c46cb1bf46ac94 /python
parentc394c2a624b24193ca769bff956ca2bd8d1e5c1b (diff)
downloadlvm2-03efb7c2e121d68ba39691b796dae8c9606108d4.tar.gz
python: make install to prefix dir
Respect $prefix and avoid install to live system.
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/Makefile.in b/python/Makefile.in
index 1fead2209..9f9046ba1 100644
--- a/python/Makefile.in
+++ b/python/Makefile.in
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2011-2012 Red Hat, Inc.
+# Copyright (C) 2011-2013 Red Hat, Inc.
#
# This file is part of LVM2.
#
@@ -27,7 +27,7 @@ liblvm_python.c:
include $(top_builddir)/make.tmpl
install_python_bindings: python_bindings
- $(PYTHON) setup.py install --skip-build --root $(rootdir)
+ $(PYTHON) setup.py install --skip-build --root $(DESTDIR)$(prefix)
install_lvm2: install_python_bindings