bump product version to 5.0.4.1
[LibreOffice.git] / solenv / bin / create-tags
blob73349360585e44471456ba177ae5a01a26d4b70a
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 omnicppoptions="--c++-kinds=+p --fields=+iaS --extra=+q"
17 $ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $omnicppoptions \
18 --languages=-HTML,Java,JavaScript \
19 -R --exclude=instdir --exclude=instdir_for_build --exclude=workdir --exclude=workdir_for_build \
20 --exclude=clone --exclude=external --totals=yes ${SRCDIR:-*}
22 if test -d workdir_for_build; then
23 w=workdir_for_build
24 else
25 w=workdir
28 $ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $omnicppoptions \
29 --languages=-HTML,Java,JavaScript \
30 -R --append=yes --totals=yes \
31 $w/UnoApiHeadersTarget/udkapi/normal \
32 $w/UnoApiHeadersTarget/offapi/normal \
33 $w/CustomTarget/officecfg/registry