summaryrefslogtreecommitdiff
path: root/support-files/build-tags
blob: b5386dc79c37ffd82e958253d36a2108b735265d (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 -R --kind=file --versioned"

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