summaryrefslogtreecommitdiffstats
path: root/doc/tools
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-14 21:20:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-14 21:20:31 +0000
commit7c88bb74e21e31325c42080808f4e6753dae8b62 (patch)
tree303cd82cf7545f05a68f4b29f200a654022d47c8 /doc/tools
parentfirst cut at browseable RTEMS (diff)
downloadrtems-7c88bb74e21e31325c42080808f4e6753dae8b62.tar.bz2
RTEMS stuff now browseable for 1st time. Not completed.
Diffstat (limited to 'doc/tools')
-rw-r--r--doc/tools/src2html/Makefile5
-rw-r--r--doc/tools/src2html1.4a/ctags-wr6
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/tools/src2html/Makefile b/doc/tools/src2html/Makefile
index 8d9c4a578c..208f901559 100644
--- a/doc/tools/src2html/Makefile
+++ b/doc/tools/src2html/Makefile
@@ -9,7 +9,7 @@
CC=gcc
CFLAGS=-g
-PROGS=ctags-wr ctags-new ctags-emacs src2html
+PROGS=ctags-wr ctags-new ctags src2html
SRC2HTMLDIR=src2html1.4a
@@ -25,7 +25,8 @@ ctags-new:
cd ../$(SRC2HTMLDIR)/Ctags ; gmake
cp ../$(SRC2HTMLDIR)/Ctags/ctags-new .
-ctags-emacs:
+# EMACS ctags with Ada awareness
+ctags:
cp ../$(SRC2HTMLDIR)/ctags-emacs/ctags ctags
src2html:
diff --git a/doc/tools/src2html1.4a/ctags-wr b/doc/tools/src2html1.4a/ctags-wr
index d837910b7e..d514e85cab 100644
--- a/doc/tools/src2html1.4a/ctags-wr
+++ b/doc/tools/src2html1.4a/ctags-wr
@@ -19,9 +19,13 @@ if [ ! -f ${TOOLSBASE}/ctags ]; then
exit 1
fi
-cfiles=`ls -1 $1/*.[ch] $1/*.inl 2>/dev/null | grep -v "/no-"`
+cfiles=`find $1 -name "*.[ch]" -o "*.inl" 2>/dev/null | grep -v "/no-"`
+adafiles=`find $1 -name "*.ad[sb]" 2>/dev/null | grep -v "/no-"`
adafiles=`ls -1 $1/*.ad[sb] 2>/dev/null`
+#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
${TOOLSBASE}/ctags-new -d -t -w -y ${cfiles}
#mv tags tags.c