~ubuntu-branches/ubuntu/lucid/postgresql-8.4/lucid-proposed

« back to all changes in this revision

Viewing changes to src/tools/make_etags

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# $PostgreSQL$
 
4
 
 
5
rm -f ./TAGS
 
6
 
 
7
find `pwd`/ -type f -name '*.[chyl]' -print |
 
8
        xargs etags --append -o TAGS
 
9
 
 
10
find . \( -name CVS -prune \) -o \( -name .git -prune \) -o -type d -print |
 
11
while read DIR
 
12
do      [ "$DIR" != "." ] && ln -f -s `pwd`/TAGS "$DIR"
 
13
done