Changeset View
Changeset View
Standalone View
Standalone View
head/etc/Makefile
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | .if !defined(DESTDIR) | ||||
@false | @false | ||||
.endif | .endif | ||||
${_+_}cd ${.CURDIR}/gss; ${MAKE} install | ${_+_}cd ${.CURDIR}/gss; ${MAKE} install | ||||
${_+_}cd ${.CURDIR}/mtree; ${MAKE} install | ${_+_}cd ${.CURDIR}/mtree; ${MAKE} install | ||||
${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap | ${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap | ||||
${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt | ${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt | ||||
.if ${MK_UNBOUND} != "no" | .if ${MK_UNBOUND} != "no" | ||||
if [ ! -e ${DESTDIR}/etc/unbound ]; then \ | if [ ! -e ${DESTDIR}/etc/unbound ]; then \ | ||||
${INSTALL_SYMLINK} ../var/unbound ${DESTDIR}/etc/unbound; \ | ${INSTALL_SYMLINK} -T "package=unbound" \ | ||||
../var/unbound ${DESTDIR}/etc/unbound; \ | |||||
fi | fi | ||||
.endif | .endif | ||||
.if ${MK_SENDMAIL} != "no" | .if ${MK_SENDMAIL} != "no" | ||||
${_+_}cd ${.CURDIR}/sendmail; ${MAKE} distribution | ${_+_}cd ${.CURDIR}/sendmail; ${MAKE} distribution | ||||
.endif | .endif | ||||
.if ${MK_KERBEROS} != "no" | .if ${MK_KERBEROS} != "no" | ||||
cd ${.CURDIR}/root; \ | cd ${.CURDIR}/root; \ | ||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | ||||
-T "package=runtime" \ | |||||
dot.k5login ${DESTDIR}/root/.k5login; | dot.k5login ${DESTDIR}/root/.k5login; | ||||
.endif | .endif | ||||
.if ${MK_MAIL} != "no" | .if ${MK_MAIL} != "no" | ||||
cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | ||||
${ETCMAIL} ${DESTDIR}/etc/mail | -T "package=runtime" ${ETCMAIL} ${DESTDIR}/etc/mail | ||||
if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \ | if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \ | ||||
! -f ${DESTDIR}/etc/aliases ]; then \ | ! -f ${DESTDIR}/etc/aliases ]; then \ | ||||
${INSTALL_SYMLINK} mail/aliases ${DESTDIR}/etc/aliases; \ | ${INSTALL_SYMLINK} -T "package=runtime" \ | ||||
mail/aliases ${DESTDIR}/etc/aliases; \ | |||||
fi | fi | ||||
.endif | .endif | ||||
.if ${MK_LOCATE} != "no" | .if ${MK_LOCATE} != "no" | ||||
${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \ | ${INSTALL} -o nobody -g ${BINGRP} -m 644 -T "package=runtime"\ | ||||
${DESTDIR}/var/db/locate.database | /dev/null ${DESTDIR}/var/db/locate.database | ||||
.endif | .endif | ||||
cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ | cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ | ||||
${FREEBSD} ${DESTDIR}/ | -T "package=runtime" ${FREEBSD} ${DESTDIR}/ | ||||
.if ${MK_BOOT} != "no" | .if ${MK_BOOT} != "no" | ||||
.if exists(${SRCTOP}/sys/${MACHINE}/conf/GENERIC.hints) | .if exists(${SRCTOP}/sys/${MACHINE}/conf/GENERIC.hints) | ||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ | ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ | ||||
-T "package=runtime" \ | |||||
${SRCTOP}/sys/${MACHINE}/conf/GENERIC.hints \ | ${SRCTOP}/sys/${MACHINE}/conf/GENERIC.hints \ | ||||
${DESTDIR}/boot/device.hints | ${DESTDIR}/boot/device.hints | ||||
.endif | .endif | ||||
.endif | .endif | ||||
MTREE_CMD?= mtree | MTREE_CMD?= mtree | ||||
MTREES= mtree/BSD.root.dist / \ | MTREES= mtree/BSD.root.dist / \ | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |