summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2008-08-15 14:11:30 +0000
committerphilip <philip@FreeBSD.org>2008-08-15 14:11:30 +0000
commitfd1b5d255dc206956ee8c7d9f1116023d7bc5c0f (patch)
tree308a86ce840f827abf52dba5676f35f50593dea6 /sys
parentbd507c7cef0d90ce480caf8fccc35b5868afa229 (diff)
downloadFreeBSD-src-fd1b5d255dc206956ee8c7d9f1116023d7bc5c0f.zip
FreeBSD-src-fd1b5d255dc206956ee8c7d9f1116023d7bc5c0f.tar.gz
Improve the glimpse target: don't index .svn and compile directories.
Suggested by: brooks
Diffstat (limited to 'sys')
-rw-r--r--sys/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/Makefile b/sys/Makefile
index d7b4a0f..ff80b10 100644
--- a/sys/Makefile
+++ b/sys/Makefile
@@ -46,6 +46,10 @@ TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
# You need the textproc/glimpse ports for this.
glimpse:
+.if !exists(${.CURDIR}/.glimpse_exclude)
+ echo .svn > ${.CURDIR}/.glimpse_exclude
+ echo /compile/ >> ${.CURDIR}/.glimpse_exclude
+.endif
cd ${.CURDIR}; glimpseindex -H . -B -f -o .
glimpse-clean:
OpenPOWER on IntegriCloud