mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-18 08:01:06 +02:00
11 lines
262 B
Plaintext
11 lines
262 B
Plaintext
|
#!/bin/sh
|
||
|
trap "rm -f /tmp/$$" 0 1 2 3 15
|
||
|
rm -f ./tags
|
||
|
find `pwd`/ -type f -name '*.[chyl]' -print|xargs ctags -t -a -f tags
|
||
|
sort tags >/tmp/$$ && mv /tmp/$$ tags
|
||
|
|
||
|
find . -type d -print |while read DIR
|
||
|
do
|
||
|
[ "$DIR" != "." ] && ln -f -s `pwd`/tags $DIR/tags
|
||
|
done
|