freebsd-dev/usr.sbin/named/tools/ndc/Makefile
Peter Wemm 6b32ec19e9 Update 4.9.3.b9p1 tools to 4.9.3.b24
Note: new program, "ndc", similar to gated's gdc.  This provides a superset
of named.reload and named.restart.
1995-08-20 21:43:53 +00:00

26 lines
479 B
Makefile

MAN8= ndc.8
CLEANFILES+=ndc
PIDDIR=/var/run
INDOT=
PS=ps
IOT=IOT
DESTSBIN=${DESTDIR}${BINDIR}
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
ndc ${DESTDIR}${BINDIR}
all: ndc
ndc: ndc.sh Makefile
sed -e "s|%DESTSBIN%|${DESTSBIN}|" \
-e "s|%INDOT%|${INDOT}|" \
-e "s|%PIDDIR%|${PIDDIR}|" \
-e "s|%PS%|${PS}|" \
-e "s|%IOT%|${IOT}|" \
< ${.CURDIR}/ndc.sh > ndc
.include "${.CURDIR}/../../../Makefile.inc"
.include <bsd.prog.mk>