1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/usr.sbin/ndc/Makefile
1998-05-03 05:14:04 +00:00

23 lines
478 B
Makefile

# $Id: Makefile,v 1.4 1997/02/22 16:08:18 peter Exp $
.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>