4.104.114.84.95
Last change
on this file since 5fc42c89 was
7c88bb74,
checked in by Joel Sherrill <joel.sherrill@…>, on 04/14/98 at 21:20:31
|
RTEMS stuff now browseable for 1st time. Not completed.
|
-
Property mode set to
100644
|
File size:
979 bytes
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | # |
---|
3 | # Ctags wrapper |
---|
4 | # |
---|
5 | # Invokes the version shipped with src2html for C. |
---|
6 | # Invokes the Ada patched GNU Emacs version for Ada. |
---|
7 | # |
---|
8 | # $Id$ |
---|
9 | |
---|
10 | TOOLSBASE=/usr1/rtems/rtemsdoc-work/tools/src2html |
---|
11 | |
---|
12 | if [ ! -f ${TOOLSBASE}/ctags-new ]; then |
---|
13 | echo Can not find ${TOOLSBASE}/ctags-new for C programs. |
---|
14 | exit 1 |
---|
15 | fi |
---|
16 | |
---|
17 | if [ ! -f ${TOOLSBASE}/ctags ]; then |
---|
18 | echo Can not find ${TOOLSBASE}/ctags for Ada programs. |
---|
19 | exit 1 |
---|
20 | fi |
---|
21 | |
---|
22 | cfiles=`find $1 -name "*.[ch]" -o "*.inl" 2>/dev/null | grep -v "/no-"` |
---|
23 | adafiles=`find $1 -name "*.ad[sb]" 2>/dev/null | grep -v "/no-"` |
---|
24 | adafiles=`ls -1 $1/*.ad[sb] 2>/dev/null` |
---|
25 | |
---|
26 | #cfiles=`ls -1 $1/*.[ch] $1/*.inl 2>/dev/null | grep -v "/no-"` |
---|
27 | #adafiles=`ls -1 $1/*.ad[sb] 2>/dev/null` |
---|
28 | |
---|
29 | if [ "x${cfiles}" != x ] ; then |
---|
30 | ${TOOLSBASE}/ctags-new -d -t -w -y ${cfiles} |
---|
31 | #mv tags tags.c |
---|
32 | fi |
---|
33 | |
---|
34 | if [ "x${adafiles}" != x ] ; then |
---|
35 | ${TOOLSBASE}-src/ctags -d -t -x --no-warn ${adafiles} |
---|
36 | fi |
---|
37 | # cat tags |
---|
38 | #mv tags tags.ada |
---|
39 | # |
---|
40 | #cat tags.c tags.ada |
---|
41 | #rm -f tags.c tags.ada |
---|
Note: See
TracBrowser
for help on using the repository browser.