mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
etc: Set DISTBASE during distribute for sub-makes
This is normally done by bsd.subdir.mk in its default distribute target, but since etc overrides it we don't get that behaviour. Currently it's not needed, but share/man's makedb (recursed into by etc's afterinstall) will need it in the following commit. Technically this is only needed for install, but do this for distribution too for completeness and consistency. Reviewed by: brooks, emaste Differential Revision: https://reviews.freebsd.org/D43675
This commit is contained in:
parent
9d784da3a7
commit
ce047ebf48
|
@ -39,8 +39,9 @@ distribute:
|
|||
# Avoid installing tests here; "make distribution" will do this and
|
||||
# correctly place them in the right location.
|
||||
${_+_}cd ${.CURDIR} ; ${MAKE} MK_TESTS=no install \
|
||||
DESTDIR=${DISTDIR}/${DISTRIBUTION}
|
||||
${_+_}cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/${DISTRIBUTION}
|
||||
DISTBASE=/${DISTRIBUTION} DESTDIR=${DISTDIR}/${DISTRIBUTION}
|
||||
${_+_}cd ${.CURDIR} ; ${MAKE} distribution \
|
||||
DISTBASE=/${DISTRIBUTION} DESTDIR=${DISTDIR}/${DISTRIBUTION}
|
||||
|
||||
.include <bsd.endian.mk>
|
||||
|
||||
|
|
Loading…
Reference in a new issue