[Libreoffice-commits] core.git: solenv/bin
Miklos Vajna
vmiklos at collabora.co.uk
Tue Dec 9 00:44:14 PST 2014
solenv/bin/create-tags | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
New commits:
commit 127b0926b5ceff0dcb44e7b7ac4ecbc479f44d97
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Dec 9 09:40:49 2014 +0100
solenv: handle workdir_for_build in create-tags
Change-Id: I669ea2813daeb2be8164e1d7c224368c2fe9819a
diff --git a/solenv/bin/create-tags b/solenv/bin/create-tags
index 2ca41cd..80377f9 100755
--- a/solenv/bin/create-tags
+++ b/solenv/bin/create-tags
@@ -16,11 +16,17 @@ omnicppoptions="--c++-kinds=+p --fields=+iaS --extra=+q"
$ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $omnicppoptions \
--languages=-HTML,Java,JavaScript \
- -R --exclude=instdir --exclude=workdir \
- --exclude=clone --totals=yes ${SRCDIR:-*}
+ -R --exclude=instdir --exclude=instdir_for_build --exclude=workdir --exclude=workdir_for_build \
+ --exclude=clone --exclude=external --totals=yes ${SRCDIR:-*}
+
+if test -d workdir_for_build; then
+ w=workdir_for_build
+else
+ w=workdir
+fi
$ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $omnicppoptions \
--languages=-HTML,Java,JavaScript \
-R --append=yes --totals=yes \
- workdir/UnoApiHeadersTarget/udkapi/normal \
- workdir/UnoApiHeadersTarget/offapi/normal
+ $w/UnoApiHeadersTarget/udkapi/normal \
+ $w/UnoApiHeadersTarget/offapi/normal
More information about the Libreoffice-commits
mailing list