[Libreoffice-commits] .: solenv/bin

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Tue Jan 11 01:01:52 PST 2011


 solenv/bin/create-tags |   18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

New commits:
commit 7b677e8ac6317b2f6dbecf72ef675821ca218d6b
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date:   Fri Jan 7 13:39:36 2011 +0100

    No need of creating the tags file in the two places

diff --git a/solenv/bin/create-tags b/solenv/bin/create-tags
index 8ac1d5c..12280f6 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 *


More information about the Libreoffice-commits mailing list