master - python: Introduce pyexecdir
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=97df05ce107ae2bed9ef02cfcdcdde39bd2100d4 Commit: 97df05ce107ae2bed9ef02cfcdcdde39bd2100d4 Parent: 462df8d89df2b87bbdb11c31b0b94523dea7aa28 Author: Alasdair G Kergon <[email protected]> AuthorDate: Wed Jul 24 22:07:10 2013 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Wed Jul 24 22:07:10 2013 +0100
python: Introduce pyexecdir
Use pyexecdir for $DESTDIR + $prefix
--- make.tmpl.in | 1 + python/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
make.tmpl.in +1 -0
@@ -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)
python/Makefile.in +1 -1
@@ -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