minix/etc/defaults/Makefile

29 lines
731 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2013/05/01 05:36:25 agc Exp $
.include <bsd.own.mk>
.if !defined(__MINIX)
CONFIGFILES= daily.conf monthly.conf pkgpath.conf security.conf weekly.conf
.else
CONFIGFILES= minix.rc.conf
.endif # !defined(__MINIX)
FILESDIR= /etc/defaults
FILESMODE= ${NONBINMODE}
# Manage arch-specific rc.conf(5) file
CONFIGFILES+= rc_conf
FILESNAME_rc_conf= rc.conf
FILESBUILD_rc_conf= yes
# If present, rc.conf.append is added to the end of the default rc.conf file
RCCONF_SRCS= ${.CURDIR}/rc.conf
.if exists(../etc.${MACHINE}/rc.conf.append)
RCCONF_SRCS+= ${.CURDIR}/../etc.${MACHINE}/rc.conf.append
.endif
rc_conf: ${RCCONF_SRCS}
${_MKTARGET_CREATE}
${TOOL_CAT} ${RCCONF_SRCS} > ${.TARGET}
.include <bsd.prog.mk>