1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 01:55:10 +03:00

python: Introduce pyexecdir

Use pyexecdir for $DESTDIR + $prefix
This commit is contained in:
Alasdair G Kergon 2013-07-24 22:07:10 +01:00
parent 462df8d89d
commit 97df05ce10
2 changed files with 2 additions and 1 deletions

View File

@ -73,6 +73,7 @@ systemd_unit_dir = $(DESTDIR)@systemdsystemunitdir@
systemd_generator_dir = $(DESTDIR)@systemdutildir@/system-generators
tmpfiles_dir = $(DESTDIR)@tmpfilesdir@
ocf_scriptdir = $(DESTDIR)@OCFDIR@
pyexecdir = $(DESTDIR)$(prefix)
USRLIB_RELPATH = $(shell echo $(abspath $(usrlibdir) $(libdir)) | \
$(AWK) -f $(top_srcdir)/scripts/relpath.awk)

View File

@ -27,7 +27,7 @@ liblvm_python.c:
include $(top_builddir)/make.tmpl
install_python_bindings: python_bindings
$(PYTHON) setup.py install --skip-build --prefix $(prefix)
$(PYTHON) setup.py install --skip-build --prefix $(pyexecdir)
install_lvm2: install_python_bindings