summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-14 16:30:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-14 16:30:23 +0000
commitf5ecb312f6f8d0880a6936a4b80c837e4b00dec7 (patch)
treeb92e6392e3c1150a0288c63d5b25dc74e6c2d20f /doc
parentNew file. Copied from Avenger. (diff)
downloadrtems-f5ecb312f6f8d0880a6936a4b80c837e4b00dec7.tar.bz2
base changes for moving and better error checking
Diffstat (limited to 'doc')
-rw-r--r--doc/tools/src2html1.4a/ctags-wr23
1 files changed, 21 insertions, 2 deletions
diff --git a/doc/tools/src2html1.4a/ctags-wr b/doc/tools/src2html1.4a/ctags-wr
index 8aedfa5c80..d837910b7e 100644
--- a/doc/tools/src2html1.4a/ctags-wr
+++ b/doc/tools/src2html1.4a/ctags-wr
@@ -1,15 +1,34 @@
#! /bin/sh
+#
+# Ctags wrapper
+#
+# Invokes the version shipped with src2html for C.
+# Invokes the Ada patched GNU Emacs version for Ada.
+#
+# $Id$
+
+TOOLSBASE=/usr1/rtems/rtemsdoc-work/tools/src2html
+
+if [ ! -f ${TOOLSBASE}/ctags-new ]; then
+ echo Can not find ${TOOLSBASE}/ctags-new for C programs.
+ exit 1
+fi
+
+if [ ! -f ${TOOLSBASE}/ctags ]; then
+ echo Can not find ${TOOLSBASE}/ctags for Ada programs.
+ exit 1
+fi
cfiles=`ls -1 $1/*.[ch] $1/*.inl 2>/dev/null | grep -v "/no-"`
adafiles=`ls -1 $1/*.ad[sb] 2>/dev/null`
if [ "x${cfiles}" != x ] ; then
- /avenger/afcc/textools/src2html/ctags-new -d -t -w -y ${cfiles}
+ ${TOOLSBASE}/ctags-new -d -t -w -y ${cfiles}
#mv tags tags.c
fi
if [ "x${adafiles}" != x ] ; then
- /usr1/tmp/build/lib-src/ctags -d -t -x --no-warn ${adafiles}
+ ${TOOLSBASE}-src/ctags -d -t -x --no-warn ${adafiles}
fi
# cat tags
#mv tags tags.ada