4395 [bug] Improve out-of-tree installation of python modules.

[RT #42586]

(cherry picked from commit 4840ef4581)
This commit is contained in:
Mark Andrews
2016-06-24 12:50:36 +10:00
parent 1b101fe1d7
commit e2209cc82c
15 changed files with 39 additions and 11 deletions
+7 -1
View File
@@ -53,7 +53,13 @@ install:: ${TARGETS} installdirs
${INSTALL_SCRIPT} dnssec-coverage ${DESTDIR}${sbindir}
${INSTALL_DATA} ${srcdir}/dnssec-checkds.8 ${DESTDIR}${mandir}/man8
${INSTALL_DATA} ${srcdir}/dnssec-coverage.8 ${DESTDIR}${mandir}/man8
test -z "${PYTHON}" || ${PYTHON} ${srcdir}/setup.py install --prefix=${DESTDIR}${prefix}
if test -n "${PYTHON}" ; then \
if test -n "${DESTDIR}" ; then \
${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} ; \
else \
${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} ; \
fi \
fi
clean distclean::
rm -f ${TARGETS}
+1
View File
@@ -20,5 +20,6 @@ setup(name='isc',
description='Python functions to support BIND utilities',
url='https://www.isc.org/bind',
author='Internet Systems Consortium, Inc',
author_email='bind9-bugs@isc.org',
license='ISC',
packages=['isc'])