Use pyexecdir for $DESTDIR + $prefix
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)
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