Add_--install-layout=deb_to_setup.py_call

Gbp-Pq: Name 0007-Add_--install-layout=deb_to_setup.py_call.patch
This commit is contained in:
Debian DNS Packaging 2017-11-24 16:26:55 +00:00 committed by Lu zhiping
parent 8c97b7b3e6
commit ba27f94971
1 changed files with 2 additions and 2 deletions

View File

@ -56,9 +56,9 @@ install:: ${TARGETS} installdirs
${INSTALL_DATA} ${srcdir}/dnssec-keymgr.8 ${DESTDIR}${mandir}/man8
if test -n "${PYTHON}" ; then \
if test -n "${DESTDIR}" ; then \
${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} @PYTHON_INSTALL_LIB@ ; \
${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} --install-layout=deb @PYTHON_INSTALL_LIB@ ; \
else \
${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} @PYTHON_INSTALL_LIB@ ; \
${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} --install-layout=deb @PYTHON_INSTALL_LIB@ ; \
fi ; \
rm -rf build ; \
fi