Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / solenv / bin / create-tags
blob639111cb1f7729edeadea0d9818e45e7b7f10ea2
1 #!/usr/bin/env bash
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 ctags=ctags
11 if test "$1" = "-e"; then
12 ctags=etags
15 saloptions="-ISAL_DELETED_FUNCTION -ISAL_OVERRIDE -ISAL_FINAL -ISAL_CONSTEXPR"
16 omnicppoptions="--c++-kinds=+p --fields=+iaS --extra=+q"
18 $ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $saloptions $omnicppoptions \
19 --languages=-HTML,Java,JavaScript \
20 -R --exclude=instdir --exclude=instdir_for_build --exclude=workdir --exclude=workdir_for_build \
21 --exclude=clone --exclude=external --totals=yes ${SRCDIR:-*}
23 if test -d workdir_for_build; then
24 w=workdir_for_build
25 else
26 w=workdir
29 $ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $saloptions $omnicppoptions \
30 --languages=-HTML,Java,JavaScript \
31 -R --append=yes --totals=yes \
32 $w/UnoApiHeadersTarget/udkapi/normal \
33 $w/UnoApiHeadersTarget/offapi/normal \
34 $w/CustomTarget/officecfg/registry