postgresql/src/tools/make_etags

17 lines
360 B
Plaintext
Raw Normal View History

1997-09-08 06:19:50 +02:00
#!/bin/sh
2010-09-20 22:08:53 +02:00
# src/tools/make_etags
command -v etags >/dev/null || \
{ echo "'etags' program not found" 1>&2; exit 1; }
1997-09-08 06:19:50 +02:00
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"
1997-09-08 06:19:50 +02:00
done