Skip to content
Snippets Groups Projects
Commit bc3d2e1e authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Allow make_ctags to work with exuberant tags.

parent a4485ea8
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
trap "rm -f /tmp/$$" 0 1 2 3 15
rm -f ./tags
if [ "`ctags --version 2>&1 | grep Exuberant`" != "Exuberant" ]
then FLAGS="-dt"
else FLAGS="--c-types=+dfmstuv"
fi
find `pwd`/ \( -name _deadcode -a -prune \) -o \
-type f -name '*.[chyl]' -print|xargs ctags -d -t -a -f tags
-type f -name '*.[chyl]' -print|xargs ctags "$FLAGS" -a -f tags
sort tags >/tmp/$$ && mv /tmp/$$ tags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment