From fd1b5d255dc206956ee8c7d9f1116023d7bc5c0f Mon Sep 17 00:00:00 2001 From: philip Date: Fri, 15 Aug 2008 14:11:30 +0000 Subject: Improve the glimpse target: don't index .svn and compile directories. Suggested by: brooks --- sys/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys') 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: -- cgit v1.1