postgresql/src/MAKE_ETAGS

11 lines
239 B
Plaintext
Raw Normal View History

1996-11-07 06:15:31 +01:00
#!/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