1# @(#)Makefile 8.1 (Berkeley) 6/9/93
2# $FreeBSD: head/usr.bin/vgrind/Makefile 87693 2001-12-11 23:10:26Z markm $
3
4PROG= vfontedpr
5SRCS= regexp.c vfontedpr.c
6NO_WERROR=yes
7SCRIPTS=vgrind.sh
8MAN= vgrind.1 vgrindefs.5
9
10BINDIR= /usr/libexec
11SCRIPTSDIR=/usr/bin
12
13EXTRA= vgrindefs.src.db
14CLEANFILES+= ${EXTRA}
15
16all: ${EXTRA}
17
18${EXTRA}: ${.CURDIR}/vgrindefs.src
19 cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src
20
21beforeinstall:
22 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/vgrindefs.src \
23 ${DESTDIR}/usr/share/misc/vgrindefs
24 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
25 vgrindefs.src.db ${DESTDIR}/usr/share/misc/vgrindefs.db
26 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac.vgrind \
27 ${DESTDIR}/usr/share/tmac
28
29.include <bsd.prog.mk>
2# $FreeBSD: head/usr.bin/vgrind/Makefile 87693 2001-12-11 23:10:26Z markm $
3
4PROG= vfontedpr
5SRCS= regexp.c vfontedpr.c
6NO_WERROR=yes
7SCRIPTS=vgrind.sh
8MAN= vgrind.1 vgrindefs.5
9
10BINDIR= /usr/libexec
11SCRIPTSDIR=/usr/bin
12
13EXTRA= vgrindefs.src.db
14CLEANFILES+= ${EXTRA}
15
16all: ${EXTRA}
17
18${EXTRA}: ${.CURDIR}/vgrindefs.src
19 cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src
20
21beforeinstall:
22 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/vgrindefs.src \
23 ${DESTDIR}/usr/share/misc/vgrindefs
24 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
25 vgrindefs.src.db ${DESTDIR}/usr/share/misc/vgrindefs.db
26 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac.vgrind \
27 ${DESTDIR}/usr/share/tmac
28
29.include <bsd.prog.mk>