mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Improve the glimpse target: don't index .svn and compile directories.
Suggested by: brooks
This commit is contained in:
parent
2e37c8eacb
commit
7744e15e52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181756
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user