Build database at build time instead of at install time.
This commit is contained in:
parent
21108d881c
commit
ce2554c5ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2511
@ -5,10 +5,15 @@ SRCS= regexp.c vfontedpr.c
|
||||
MAN1= vgrind.1
|
||||
MAN5= vgrindefs.5
|
||||
BINDIR= /usr/libexec
|
||||
CLEANFILES+=vgrindefs.src.db
|
||||
EXTRA= vgrindefs.src.db
|
||||
CLEANFILES+= ${EXTRA}
|
||||
|
||||
all: ${EXTRA}
|
||||
|
||||
${EXTRA}: ${.CURDIR}/vgrindefs.src
|
||||
cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src
|
||||
|
||||
beforeinstall:
|
||||
cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||
${.CURDIR}/vgrind.sh ${DESTDIR}/usr/bin/vgrind
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/vgrindefs.src \
|
||||
|
Loading…
Reference in New Issue
Block a user