From 7744e15e52c1c7621ca07e8e063dd3828016c222 Mon Sep 17 00:00:00 2001 From: Philip Paeps Date: Fri, 15 Aug 2008 14:11:30 +0000 Subject: [PATCH] Improve the glimpse target: don't index .svn and compile directories. Suggested by: brooks --- sys/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/Makefile b/sys/Makefile index d7b4a0f95932..ff80b10f95e6 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: