forked from Imagelibrary/rtems
RTEMS stuff now browseable for 1st time. Not completed.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=-g
|
CFLAGS=-g
|
||||||
|
|
||||||
PROGS=ctags-wr ctags-new ctags-emacs src2html
|
PROGS=ctags-wr ctags-new ctags src2html
|
||||||
|
|
||||||
SRC2HTMLDIR=src2html1.4a
|
SRC2HTMLDIR=src2html1.4a
|
||||||
|
|
||||||
@@ -25,7 +25,8 @@ ctags-new:
|
|||||||
cd ../$(SRC2HTMLDIR)/Ctags ; gmake
|
cd ../$(SRC2HTMLDIR)/Ctags ; gmake
|
||||||
cp ../$(SRC2HTMLDIR)/Ctags/ctags-new .
|
cp ../$(SRC2HTMLDIR)/Ctags/ctags-new .
|
||||||
|
|
||||||
ctags-emacs:
|
# EMACS ctags with Ada awareness
|
||||||
|
ctags:
|
||||||
cp ../$(SRC2HTMLDIR)/ctags-emacs/ctags ctags
|
cp ../$(SRC2HTMLDIR)/ctags-emacs/ctags ctags
|
||||||
|
|
||||||
src2html:
|
src2html:
|
||||||
|
|||||||
@@ -19,9 +19,13 @@ if [ ! -f ${TOOLSBASE}/ctags ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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`
|
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
|
if [ "x${cfiles}" != x ] ; then
|
||||||
${TOOLSBASE}/ctags-new -d -t -w -y ${cfiles}
|
${TOOLSBASE}/ctags-new -d -t -w -y ${cfiles}
|
||||||
#mv tags tags.c
|
#mv tags tags.c
|
||||||
|
|||||||
Reference in New Issue
Block a user