summaryrefslogtreecommitdiffstats
path: root/usr.bin/vgrind/Makefile
blob: 5682b2598060d77fb08b8451d03d6277b26b336a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#	@(#)Makefile	8.1 (Berkeley) 6/9/93

PROG=	vfontedpr
SRCS=	regexp.c vfontedpr.c
MAN1=	vgrind.1
MAN5=	vgrindefs.5
BINDIR=	/usr/libexec
BIN2DIR=/usr/bin
EXTRA=	vgrindefs.src.db
CLEANFILES+=	${EXTRA}

all: ${EXTRA}

${EXTRA}: ${.CURDIR}/vgrindefs.src
	cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/vgrind.sh ${DESTDIR}${BIN2DIR}/vgrind
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/vgrindefs.src \
	    ${DESTDIR}/usr/share/misc/vgrindefs
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
	    vgrindefs.src.db ${DESTDIR}/usr/share/misc/vgrindefs.db
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac.vgrind \
	    ${DESTDIR}/usr/share/tmac

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud