File: br-c-tags

package info (click to toggle)
oo-browser 4.08-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 3,864 kB
  • ctags: 2,889
  • sloc: lisp: 21,037; ansic: 10,819; makefile: 353; sh: 94
file content (39 lines) | stat: -rwxr-xr-x 1,145 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
#
# SUMMARY:      Build feature tags for default C construct classes.
# USAGE:        <script-name> <ootags-program> <tags-file-to-build> <root-dir-to-search> [... <root-dir-to-search>]
#
# AUTHOR:       Bob Weiner
# ORG:          BeOpen.com
#               The Force for Open Source(TM)
#
#               Web:    www.beopen.com - Learn all about Open Source.
#               E-mail: <info@beopen.com>  
#
# ORIG-DATE:     3-May-95 at 10:39:37
# LAST-MOD:      9-Jun-99 at 18:03:42 by Bob Weiner
#
#
# Copyright (C) 1995-1999  BeOpen.com
# See the file BR-COPY for license information.
#
# This file is part of the OO-Browser.
#
# DESCRIPTION:  
# DESCRIP-END.

dir=`pwd`
ootags=$1
ftr_file=$2
shift 2
src_files=`dirname $ftr_file`/src_files$$
tags_file=`dirname $ftr_file`/TAGS

cd $1
\find $* -name CVS -prune -o -name RCS -prune \
         -name SCCS -prune -o -name .E -prune \
   -o -name "*.[mchMCH]" -print -o -name "*.[chCH][chpCHP]" -print \
   -o -name "*.[chCH][chpCHPx][pPx]" -print > $src_files
cat $src_files | ${ootags} - --c++ --oo-browser -o $ftr_file
cat $src_files | ${ootags} - --c++ -o $tags_file
rm -f $src_files