summaryrefslogtreecommitdiff
path: root/usr.sbin/named/restart/Makefile
blob: d09d89295efd9d624d1a9a49fcbf01a4e95902d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$OpenBSD: Makefile,v 1.5 1996/12/08 15:00:03 downsj Exp $
#	$NetBSD: Makefile,v 1.1 1996/02/02 15:30:35 mrg Exp $
# from: $Id: Makefile,v 8.1 1994/12/15 06:23:47 vixie Exp 

.PATH:	${.CURDIR}/../man

all:	named.restart
CLEANFILES+= named.restart
MAN=	named.restart.8

realinstall: named.restart
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    named.restart ${DESTDIR}${BINDIR}/named.restart

named.restart:	named.restart.sh Makefile ${.CURDIR}/../Makefile.inc
	sed -e "s|%DESTSBIN%|${BINDIR}|" \
	    < ${.CURDIR}/named.restart.sh > named.restart
	chmod +x named.restart

.include <bsd.prog.mk>
.include "../../Makefile.inc"