No need of creating the tags file in the two places
This commit is contained in:
parent
2929c2a4c6
commit
f193674d47
1 changed files with 2 additions and 16 deletions
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue