summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-09-24 20:56:26 +0000
committeremaste <emaste@FreeBSD.org>2015-09-24 20:56:26 +0000
commit2a0ca272457065ac51d8dbddc0762a017ecee98d (patch)
tree6a4a11ad04658c7a929fa40a1a2d32f0afe04225 /etc
parent1867f5034286dc8535cd2c30583c13a2ed48bc39 (diff)
downloadFreeBSD-src-2a0ca272457065ac51d8dbddc0762a017ecee98d.zip
FreeBSD-src-2a0ca272457065ac51d8dbddc0762a017ecee98d.tar.gz
MFC r279248: 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).
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 2b02717..1927580 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -154,16 +154,13 @@ BIN1+= regdomain.xml
# -rwxr-xr-x root:wheel, for the new cron root:wheel
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"
MTREE+= BSD.tests.dist
.endif
.if ${MK_SENDMAIL} != "no"
MTREE+= BSD.sendmail.dist
.endif
-.if ${MK_DEBUG_FILES} != "no"
-MTREE+= BSD.debug.dist
-.endif
PPPCNF= ppp.conf
@@ -336,10 +333,8 @@ MTREE_CMD?= mtree
MTREES= mtree/BSD.root.dist / \
mtree/BSD.var.dist /var \
mtree/BSD.usr.dist /usr \
- mtree/BSD.include.dist /usr/include
-.if ${MK_DEBUG_FILES} != "no"
-MTREES+= mtree/BSD.debug.dist /usr/lib
-.endif
+ mtree/BSD.include.dist /usr/include \
+ mtree/BSD.debug.dist /usr/lib
.if ${MK_GROFF} != "no"
MTREES+= mtree/BSD.groff.dist /usr
.endif
OpenPOWER on IntegriCloud