From f193674d47319431a3f0edd680c1c8ecfa4ac040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Fri, 7 Jan 2011 13:39:36 +0100 Subject: [PATCH] No need of creating the tags file in the two places --- solenv/bin/create-tags | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) 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 *