7d732d1e4f
Submitted by: invalid opcode <coredump@nervosa.com> makewhatis.local - start makewhatis(1) only for file systems physically mounted on the system Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill your NFS server -- all clients start makewhatis at the same time! So use this wrapper instead calling makewhatis directly. Pointed out by: Bruce
16 lines
438 B
Makefile
16 lines
438 B
Makefile
MAN1= makewhatis.1
|
|
# MAN8= makewhatis.local.8
|
|
|
|
libexecdir=/usr/libexec
|
|
LINKS=${libexecdir}/makewhatis.local ${libexecdir}/catman.local
|
|
|
|
beforeinstall:
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${.CURDIR}/makewhatis.perl ${DESTDIR}${BINDIR}/makewhatis
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${.CURDIR}/makewhatis.local.sh \
|
|
${DESTDIR}${libexecdir}/makewhatis.local
|
|
|
|
|
|
.include <bsd.prog.mk>
|