mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +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
|
systemd_generator_dir = $(DESTDIR)@systemdutildir@/system-generators
|
||||||
tmpfiles_dir = $(DESTDIR)@tmpfilesdir@
|
tmpfiles_dir = $(DESTDIR)@tmpfilesdir@
|
||||||
ocf_scriptdir = $(DESTDIR)@OCFDIR@
|
ocf_scriptdir = $(DESTDIR)@OCFDIR@
|
||||||
|
pyexecdir = $(DESTDIR)$(prefix)
|
||||||
|
|
||||||
USRLIB_RELPATH = $(shell echo $(abspath $(usrlibdir) $(libdir)) | \
|
USRLIB_RELPATH = $(shell echo $(abspath $(usrlibdir) $(libdir)) | \
|
||||||
$(AWK) -f $(top_srcdir)/scripts/relpath.awk)
|
$(AWK) -f $(top_srcdir)/scripts/relpath.awk)
|
||||||
|
@ -27,7 +27,7 @@ liblvm_python.c:
|
|||||||
include $(top_builddir)/make.tmpl
|
include $(top_builddir)/make.tmpl
|
||||||
|
|
||||||
install_python_bindings: python_bindings
|
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
|
install_lvm2: install_python_bindings
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user