☰
Debian Codegraph
@
1.7+20160302.git4e5dee9-3
/
/
make-TAGS
☽
☼
make-TAGS
code
plain
raw
GPL-2.0+
Copyright (C) 2007-2011 by Peter Klausler <
[email protected]
>
debian/copyright
1
#!/bin/bash
2
if [ ".$1" = . ]
3
then set .
4
fi
5
for path
6
do find -L $path -type f | egrep '\.(h|c|cc|C)$'
7
done | xargs ctags -x \
8
| tee TAGS.tmp1 \
9
| grep '::' \
10
| sed 's/[^:]*:://' >TAGS.tmp2
11
sort TAGS.tmp[12] >TAGS
12
rm TAGS.tmp[12]