mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +03:00
python: Introduce pyexecdir
Use pyexecdir for $DESTDIR + $prefix
This commit is contained in:
parent
462df8d89d
commit
97df05ce10
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user