NetBSD/usr.sbin/bind/restart/Makefile

22 lines
507 B
Makefile

# $NetBSD: Makefile,v 1.2 2000/01/23 21:55:45 mycroft Exp $
# from: $Id: Makefile,v 8.1 1994/12/15 06:23:47 vixie Exp
.PATH: ${.CURDIR}/../man
realall: named.restart
CLEANFILES+= named.restart
MAN= named.restart.8
FILES= named.restart
FILESMODE= ${BINMODE}
.include "../../Makefile.inc"
named.restart: named.restart.sh Makefile ${.CURDIR}/../Makefile.inc
rm -f $@
sed -e "s|%DESTSBIN%|${BINDIR}|" \
-e "s|%INDOT%||" \
< ${.CURDIR}/named.restart.sh > $@
chmod +x $@
.include <bsd.prog.mk>