~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/tools/make_etags

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
trap "rm -f /tmp/$$" 0 1 2 3 15
 
3
rm -f ./TAGS
 
4
find `pwd`/ -type f -name '*.[chyl]' -print | \
 
5
  xargs etags --append -o TAGS
 
6
 
 
7
find . -type d -print | \
 
8
while read DIR; do
 
9
  [ "$DIR" != "." ] && ln -f -s `pwd`/TAGS $DIR
 
10
done