From: Alasdair G Kergon Date: Wed, 24 Jul 2013 21:07:10 +0000 (+0100) Subject: python: Introduce pyexecdir X-Git-Tag: v2_02_99~3 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=97df05ce107ae2bed9ef02cfcdcdde39bd2100d4;p=lvm2.git python: Introduce pyexecdir Use pyexecdir for $DESTDIR + $prefix --- diff --git a/make.tmpl.in b/make.tmpl.in index ae62182cb..e2c44417b 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -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) diff --git a/python/Makefile.in b/python/Makefile.in index c9572d8fd..1aaec7e42 100644 --- a/python/Makefile.in +++ b/python/Makefile.in @@ -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