summaryrefslogtreecommitdiff
path: root/support-files/build-tags
blob: 1737910a692c9910fc675dc08df05db9ae50e1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

rm -f TAGS
filter='\.cc$\|\.c$\|\.h$\|\.yy$'

list="find . -type f"
bzr root >/dev/null 2>/dev/null && list="bzr ls --from-root --kind=file --versioned"

$list |grep $filter |while read f; 
do
	 etags -o TAGS --append $f
done