Unconditionally install debug directory hierarchy
This avoids various failure modes (e.g., when building and installing a single binary with debug data on a system that otherwise does not have it enabled). It is also consistent with the way other directory hierarchies are handled (e.g. share/man). Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D1962
This commit is contained in:
parent
2ad4692912
commit
5dd72ff561
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279248
11
etc/Makefile
11
etc/Makefile
@ -158,16 +158,13 @@ BIN1+= regdomain.xml
|
|||||||
# -rwxr-xr-x root:wheel, for the new cron root:wheel
|
# -rwxr-xr-x root:wheel, for the new cron root:wheel
|
||||||
BIN2= netstart pccard_ether rc.suspend rc.resume
|
BIN2= netstart pccard_ether rc.suspend rc.resume
|
||||||
|
|
||||||
MTREE= BSD.include.dist BSD.root.dist BSD.usr.dist BSD.var.dist
|
MTREE= BSD.debug.dist BSD.include.dist BSD.root.dist BSD.usr.dist BSD.var.dist
|
||||||
.if ${MK_TESTS} != "no"
|
.if ${MK_TESTS} != "no"
|
||||||
MTREE+= BSD.tests.dist
|
MTREE+= BSD.tests.dist
|
||||||
.endif
|
.endif
|
||||||
.if ${MK_SENDMAIL} != "no"
|
.if ${MK_SENDMAIL} != "no"
|
||||||
MTREE+= BSD.sendmail.dist
|
MTREE+= BSD.sendmail.dist
|
||||||
.endif
|
.endif
|
||||||
.if ${MK_DEBUG_FILES} != "no"
|
|
||||||
MTREE+= BSD.debug.dist
|
|
||||||
.endif
|
|
||||||
|
|
||||||
PPPCNF= ppp.conf
|
PPPCNF= ppp.conf
|
||||||
|
|
||||||
@ -346,10 +343,8 @@ MTREE_CMD?= mtree
|
|||||||
MTREES= mtree/BSD.root.dist / \
|
MTREES= mtree/BSD.root.dist / \
|
||||||
mtree/BSD.var.dist /var \
|
mtree/BSD.var.dist /var \
|
||||||
mtree/BSD.usr.dist /usr \
|
mtree/BSD.usr.dist /usr \
|
||||||
mtree/BSD.include.dist /usr/include
|
mtree/BSD.include.dist /usr/include \
|
||||||
.if ${MK_DEBUG_FILES} != "no"
|
mtree/BSD.debug.dist /usr/lib
|
||||||
MTREES+= mtree/BSD.debug.dist /usr/lib
|
|
||||||
.endif
|
|
||||||
.if ${MK_GROFF} != "no"
|
.if ${MK_GROFF} != "no"
|
||||||
MTREES+= mtree/BSD.groff.dist /usr
|
MTREES+= mtree/BSD.groff.dist /usr
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user