mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Create TAGS file for emacs. Like MAKE_CTAGS for vi.
This commit is contained in:
parent
0c960e7fc0
commit
a505db6f33
10
src/MAKE_ETAGS
Normal file
10
src/MAKE_ETAGS
Normal file
@ -0,0 +1,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
|
Loading…
Reference in New Issue
Block a user