mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 06:22:24 +01:00
Remove ${MTREE} and leverage etc/mtree/Makefile instead with
"make distribution". This also fixes the fact that BSD.debug.dist was being installed if/when ${MK_DEBUG_FILES} != "no" before this commit. MFC after: 2 months
This commit is contained in:
parent
1ae1311d9c
commit
e017348aa8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321444
17
etc/Makefile
17
etc/Makefile
@ -152,20 +152,6 @@ BIN1+= regdomain.xml
|
||||
# -rwxr-xr-x root:wheel, for the new cron root:wheel
|
||||
BIN2= netstart pccard_ether rc.suspend rc.resume
|
||||
|
||||
MTREE= BSD.debug.dist BSD.include.dist BSD.root.dist BSD.usr.dist BSD.var.dist
|
||||
.if ${MK_LIB32} != "no"
|
||||
MTREE+= BSD.lib32.dist
|
||||
.endif
|
||||
.if ${MK_LIBSOFT} != "no"
|
||||
MTREE+= BSD.libsoft.dist
|
||||
.endif
|
||||
.if ${MK_TESTS} != "no"
|
||||
MTREE+= BSD.tests.dist
|
||||
.endif
|
||||
.if ${MK_SENDMAIL} != "no"
|
||||
MTREE+= BSD.sendmail.dist
|
||||
.endif
|
||||
|
||||
PPPCNF= ppp.conf
|
||||
|
||||
.if ${MK_SENDMAIL} == "no"
|
||||
@ -254,6 +240,7 @@ distribution:
|
||||
${_+_}cd ${.CURDIR}/defaults; ${MAKE} install
|
||||
${_+_}cd ${.CURDIR}/devd; ${MAKE} install
|
||||
${_+_}cd ${.CURDIR}/gss; ${MAKE} install
|
||||
${_+_}cd ${.CURDIR}/mtree; ${MAKE} install
|
||||
${_+_}cd ${.CURDIR}/newsyslog.conf.d; ${MAKE} install
|
||||
.if ${MK_NTP} != "no"
|
||||
${_+_}cd ${.CURDIR}/ntp; ${MAKE} install
|
||||
@ -308,8 +295,6 @@ distribution:
|
||||
rm -f ${DESTDIR}/.cshrc; \
|
||||
ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc
|
||||
.endif
|
||||
cd ${.CURDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${MTREE} ${DESTDIR}/etc/mtree
|
||||
.if ${MK_MAIL} != "no"
|
||||
cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||
${ETCMAIL} ${DESTDIR}/etc/mail
|
||||
|
Loading…
Reference in New Issue
Block a user