Add a "glimpse" target to the kernel Makefile.

Glimpse is a powerful "grep on an index".
Especially addictive on slow laptop hard disks.

MFC after:	2 days
This commit is contained in:
Philip Paeps 2008-08-08 18:00:33 +00:00
parent e085f869d5
commit ae289dcbac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181432

View File

@ -44,4 +44,11 @@ TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
rm -f ${.CURDIR}/TAGS
cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscope.files
# You need the textproc/glimpse ports for this.
glimpse:
cd ${.CURDIR}; glimpseindex -H . -B -f -o .
glimpse-clean:
cd ${.CURDIR}; rm -f .glimpse_*
.include <bsd.subdir.mk>