1 # $NetBSD: Makefile,v 1.2 2009/12/03 10:28:37 roy Exp $
6 DIST
= ${NETBSDSRCDIR}/external
/bsd
/openresolv
/dist
12 FILES
= libc dnsmasq named unbound
13 FILESDIR
= /libexec
/resolvconf
14 # We should not have to do this ...
19 MAN
= resolvconf.conf
.5 resolvconf
.8
21 CLEANFILES
= ${SCRIPTS} ${FILES} ${MAN}
23 CMD1
= \
1 status
>/dev
/null
2>\
&1
25 RESTARTCMD
= /etc
/rc.d
/${CMD1} \
&\
& /etc
/rc.d
/${CMD2}
26 .for f in
${SCRIPTS} ${FILES} ${MAN}
28 ${TOOL_SED} -e
's:@PREFIX@::g' \
29 -e
's:@SYSCONFDIR@:/etc:g' \
30 -e
's:@LIBEXECDIR@:/libexec/resolvconf:g' \
31 -e
's:@VARDIR@:/var/run/resolvconf:g' \
32 -e
's:@RESTARTCMD \(.*\)@:${RESTARTCMD}:g' \
36 .
include <bsd.prog.mk
>