From ae289dcbac1fe018239889470933e5ac780353db Mon Sep 17 00:00:00 2001 From: Philip Paeps Date: Fri, 8 Aug 2008 18:00:33 +0000 Subject: [PATCH] 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 --- sys/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/Makefile b/sys/Makefile index edaca5054d25..d7b4a0f95932 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -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