diff options
Diffstat (limited to 'doc/tools')
-rw-r--r-- | doc/tools/src2html/Makefile | 5 | ||||
-rw-r--r-- | doc/tools/src2html1.4a/ctags-wr | 6 |
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 |