NetBSD/usr.sbin/bind/ndc/Makefile

25 lines
456 B
Makefile
Raw Normal View History

1998-10-05 22:01:57 +04:00
# $NetBSD: Makefile,v 1.1.1.1 1998/10/05 18:02:00 tron Exp $
.PATH: ${.CURDIR}/../man
all: ndc
CLEANFILES+= ndc
MAN= ndc.8
.include <bsd.own.mk>
.include "../../Makefile.inc"
FILES=ndc
FILESMODE=${BINMODE}
ndc: ndc.sh Makefile ${.CURDIR}/../Makefile.inc
rm -f $@
sed -e "s|%NAMED%|${NAMED}|" \
-e "s|%PIDFILE%|${PIDFILE}|" \
-e "s|%PS%|${PS}|" \
-e "s|:/usr/ucb||" \
< ${.CURDIR}/ndc.sh > $@
chmod +x $@
.include <bsd.prog.mk>