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/.
11 if test "$1" = "-e"; then
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
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