NetBSD/usr.sbin/named/ndc/Makefile
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00

27 lines
539 B
Makefile

# $NetBSD: Makefile,v 1.10 1997/05/08 21:12:40 gwr Exp $
# from: $Id: Makefile,v 8.1 1994/12/15 06:23:47 vixie 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|%PIDDIR%|${PIDDIR}|" \
-e "s|%PS%|${PS}|" \
-e "s|%DESTSBIN%|${BINDIR}|" \
-e "s|%IOT%|${IOT}|" \
-e "s|%INDOT%||" \
< ${.CURDIR}/ndc.sh > $@
chmod +x $@
.include <bsd.prog.mk>