From 7c88bb74e21e31325c42080808f4e6753dae8b62 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 14 Apr 1998 21:20:31 +0000 Subject: RTEMS stuff now browseable for 1st time. Not completed. --- doc/tools/src2html/Makefile | 5 +++-- doc/tools/src2html1.4a/ctags-wr | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3