1997-02-22 17:15:28 +01:00
|
|
|
# $Id$
|
1996-08-29 23:46:46 +02:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../named/Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: ${BIND_DIR}/named
|
|
|
|
.PATH: ${BIND_DIR}/man
|
|
|
|
|
|
|
|
MAN8= ndc.8
|
|
|
|
CLEANFILES+= ndc
|
|
|
|
|
|
|
|
all: ndc
|
|
|
|
|
|
|
|
realinstall:
|
1997-01-01 05:22:23 +01:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ndc \
|
1996-08-29 23:46:46 +02:00
|
|
|
${DESTDIR}${BINDIR}
|
|
|
|
|
|
|
|
ndc: ndc.sh ndcedit.awk ${BIND_DIR}/Makefile
|
|
|
|
sed -e "s|%PIDDIR%|${PIDDIR}|" \
|
|
|
|
-e "s|%INDOT%|${INDOT}|" \
|
|
|
|
-e "s|%PS%|${PS}|" \
|
|
|
|
-e "s|%DESTSBIN%|${DESTSBIN}|" \
|
|
|
|
-e "s|%IOT%|${IOT}|" \
|
|
|
|
< ${BIND_DIR}/named/ndc.sh | awk -f ${.CURDIR}/ndcedit.awk > ndc
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|