diff --git a/solenv/bin/create-tags b/solenv/bin/create-tags index 8ac1d5cd0b45..12280f62101c 100755 --- a/solenv/bin/create-tags +++ b/solenv/bin/create-tags @@ -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 +. ./*.Set.sh 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 *