1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-28 02:50:41 +03:00

python: make install to prefix dir

Respect $prefix and avoid install to live system.
This commit is contained in:
Zdenek Kabelac 2013-07-19 20:48:41 +02:00
parent c394c2a624
commit 03efb7c2e1

View File

@ -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