~ubuntu-branches/ubuntu/oneiric/libpgjava/oneiric

« back to all changes in this revision

Viewing changes to src/tools/make_etags

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2005-04-21 14:25:11 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050421142511-wibh5vc31fkrorx7
Tags: 7.4.7-3
Built with sources...

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