No need of creating the tags file in the two places

This commit is contained in:
Cédric Bosdonnat 2011-01-07 13:39:36 +01:00
parent 2929c2a4c6
commit f193674d47

View file

@ -1,23 +1,9 @@
#!/usr/bin/env sh
# create tags file for the whole OOo tree. run it in build/xyz680-mABC
current_dir=`basename $PWD`
# Don't create the tags file in rawbuild: due to the links the editor
# (at least Vim) will most likely consider to be in clone/repo folder.
if [ -d $current_dir/clone ]; then
cd clone
current_dir=`basename $PWD`
fi
if [ "$current_dir" == "clone" ]; then
. ../*.Set.sh
else
. ./*.Set.sh
fi
omnicppoptions="--c++-kinds=+p --fields=+iaS --extra=+q"
ctags -h "+.hdl.hrc" --langmap=c:+.hdl.hrc.src $omnicppoptions \
--languages=-HTML,Java \
-R --exclude=`echo ${INPATH} | sed 's/\./\\\./g'` --exclude=binfilter --exclude=solver \
--totals=yes --sort=foldcase *
--exclude=clone --exclude=install --totals=yes --sort=foldcase *