summaryrefslogtreecommitdiff
path: root/src/MAKE_ETAGS
blob: 94b9597aa401be529e3572206053d46d317aa225 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
trap "rm -f /tmp/$$" 0 1 2 3 15
rm -f ./TAGS
find `pwd`/ -type f -name '*.[chyl]' -print | \
  xargs etags --append --output=TAGS

find . -type d -print | \
while read DIR; do
  [ "$DIR" != "." ] && ln -f -s `pwd`/TAGS $DIR
done