blob: 3ce96bc3cabf626f3ed944f3c71bf2ef5d8ee193 [file] [log] [blame]
#!/bin/sh
# src/tools/make_etags
rm -f ./TAGS
find `pwd`/ -type f -name '*.[chyl]' -print |
xargs etags --append -o TAGS
find . \( -name CVS -prune \) -o \( -name .git -prune \) -o -type d -print |
while read DIR
do [ "$DIR" != "." ] && ln -f -s `pwd`/TAGS "$DIR"
done