1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/usr.sbin/ndc/Makefile
1999-08-28 01:35:59 +00:00

23 lines
436 B
Makefile

# $FreeBSD$
.include "${.CURDIR}/../named/Makefile.inc"
.PATH: ${BIND_DIR}/bin/ndc
.PATH: ${BIND_DIR}/doc/man
PROG= ndc
STRIP=
MAN8= ndc.8
CLEANFILES+= ndc
all: ndc
ndc: ndc.sh ndcedit.awk ${.CURDIR}/../../usr.sbin/named/Makefile.inc
sed -e "s|%PIDFILE%|${PIDDIR}/named.pid|" \
-e "s|%NAMED%|named|" \
-e "s|%PS%|${PS}|" \
< ${BIND_DIR}/bin/ndc/ndc.sh | awk -f ${.CURDIR}/ndcedit.awk > ndc
.include <bsd.prog.mk>