Ensure make distributeworld respects DESTDIR

This commit is contained in:
Baptiste Daroussin 2015-02-09 13:39:38 +00:00
parent 101dee5de1
commit b27bd78201

View File

@ -193,8 +193,8 @@ distribute:
# Avoid installing tests here; "make distribution" will do this and # Avoid installing tests here; "make distribution" will do this and
# correctly place them in the right location. # correctly place them in the right location.
${_+_}cd ${.CURDIR} ; ${MAKE} MK_TESTS=no install \ ${_+_}cd ${.CURDIR} ; ${MAKE} MK_TESTS=no install \
DESTDIR=${DISTDIR}/${DISTRIBUTION} DESTDIR=${DESTDIR}/${DISTDIR}/${DISTRIBUTION}
${_+_}cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/${DISTRIBUTION} ${_+_}cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DESTDIR}/${DISTDIR}/${DISTRIBUTION}
.include <bsd.endian.mk> .include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == "1234" .if ${TARGET_ENDIANNESS} == "1234"