diff options
author | philip <philip@FreeBSD.org> | 2008-08-08 18:00:33 +0000 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2008-08-08 18:00:33 +0000 |
commit | 96ad9ae52af84ee459011c5ca162b29b3f94438b (patch) | |
tree | 30cca8dcad5d255a25430dc106dc6d587b726781 /sys/Makefile | |
parent | a782fc10febc1bf57b9653c29ee514c128c78b4b (diff) | |
download | FreeBSD-src-96ad9ae52af84ee459011c5ca162b29b3f94438b.zip FreeBSD-src-96ad9ae52af84ee459011c5ca162b29b3f94438b.tar.gz |
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
Diffstat (limited to 'sys/Makefile')
-rw-r--r-- | sys/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/Makefile b/sys/Makefile index edaca50..d7b4a0f 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 <bsd.subdir.mk> |