NetBSD/usr.sbin/named/ndc/Makefile

24 lines
556 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 1996/05/11 14:46:39 mycroft Exp $
1996-02-02 18:29:24 +03:00
# from: $Id: Makefile,v 8.1 1994/12/15 06:23:47 vixie Exp
.PATH: ${.CURDIR}/../man
1996-02-02 18:29:24 +03:00
all: ndc
1996-02-02 18:29:24 +03:00
CLEANFILES+= ndc
MAN= ndc.8
realinstall:
1996-02-02 18:29:24 +03:00
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
ndc ${DESTDIR}${BINDIR}/ndc
ndc: ndc.sh Makefile ${.CURDIR}/../Makefile.inc
sed -e "s|%PIDDIR%|${PIDDIR}|" \
-e "s|%PS%|${PS}|" \
-e "s|%DESTSBIN%|${BINDIR}|" \
-e "s|%IOT%|${IOT}|" \
< ${.CURDIR}/ndc.sh > ndc
chmod +x ndc
.include "../../Makefile.inc"
.include <bsd.prog.mk>