[v9_10] Add --with-python-install-dir configure option
4698. [port] Add --with-python-install-dir configure option to allow
specifying a nonstandard installation directory for
Python modules. [RT #45407]
(cherry picked from commit a5dc1bc395)
This commit is contained in:
@@ -55,9 +55,9 @@ install:: ${TARGETS} installdirs
|
||||
${INSTALL_DATA} ${srcdir}/dnssec-coverage.8 ${DESTDIR}${mandir}/man8
|
||||
if test -n "${PYTHON}" ; then \
|
||||
if test -n "${DESTDIR}" ; then \
|
||||
${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} ; \
|
||||
${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} @PYTHON_INSTALL_LIB@ ; \
|
||||
else \
|
||||
${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} ; \
|
||||
${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} @PYTHON_INSTALL_LIB@ ; \
|
||||
fi ; \
|
||||
rm -rf build ; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user