mirror of https://github.com/postgres/postgres
parent
c82b63a54f
commit
6faf495b8a
@ -1,12 +1,13 @@ |
||||
#!/bin/sh |
||||
|
||||
# $PostgreSQL: pgsql/src/tools/make_etags,v 1.5 2009/01/14 21:28:32 petere Exp $ |
||||
# $PostgreSQL: pgsql/src/tools/make_etags,v 1.6 2009/01/14 21:59:19 momjian Exp $ |
||||
|
||||
rm -f ./TAGS |
||||
find `pwd`/ -type f -name '*.[chyl]' -print | \ |
||||
|
||||
find `pwd`/ -type f -name '*.[chyl]' -print | |
||||
xargs etags --append -o TAGS |
||||
|
||||
find . -type d \( -name CVS -o -name .git -prune -o -print \) | \ |
||||
while read DIR; do |
||||
[ "$DIR" != "." ] && ln -f -s `pwd`/TAGS $DIR |
||||
find . \( -name CVS -prune \) -o \( -name .git -prune \) -o -type d -print | |
||||
while read DIR |
||||
do [ "$DIR" != "." ] && ln -f -s `pwd`/TAGS "$DIR" |
||||
done |
||||
|
Loading…
Reference in new issue