add 'make etags' to generate etags
Change-Id: Id87f71b6d31720173f0c5ec2a4fc395065223b79 Reviewed-on: https://gerrit.libreoffice.org/12300 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
parent
27b8fd533a
commit
775d99c87b
3 changed files with 14 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -60,6 +60,9 @@
|
|||
|
||||
/tags
|
||||
|
||||
# make etags
|
||||
/TAGS
|
||||
|
||||
# backup and temporary editor files: the only convinience rules allowed here.
|
||||
*~
|
||||
.*sw?
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
gb_Top_MODULE_CHECK_TARGETS := slowcheck unitcheck subsequentcheck perfcheck
|
||||
|
||||
.PHONY : all bootstrap gbuild build build-non-l10n-only build-l10n-only check clean clean-build clean-host test-install distclean distro-pack-install docs download fetch findunusedcode get-submodules id install install-strip tags debugrun help showmodules translations packageinfo internal.clean $(gb_Top_MODULE_CHECK_TARGETS)
|
||||
.PHONY : all bootstrap gbuild build build-non-l10n-only build-l10n-only check clean clean-build clean-host test-install distclean distro-pack-install docs download etags fetch findunusedcode get-submodules id install install-strip tags debugrun help showmodules translations packageinfo internal.clean $(gb_Top_MODULE_CHECK_TARGETS)
|
||||
|
||||
MAKECMDGOALS?=all
|
||||
build_goal:=$(if $(filter build check,$(MAKECMDGOALS)),all)\
|
||||
|
@ -321,6 +321,9 @@ id:
|
|||
tags:
|
||||
@create-tags
|
||||
|
||||
etags:
|
||||
@create-tags -e
|
||||
|
||||
docs:
|
||||
@mkdocs.sh $(SRCDIR)/docs $(SRCDIR)/solenv/inc/doxygen.cfg
|
||||
|
||||
|
|
|
@ -7,14 +7,19 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
ctags=ctags
|
||||
if test "$1" = "-e"; then
|
||||
ctags=etags
|
||||
fi
|
||||
|
||||
omnicppoptions="--c++-kinds=+p --fields=+iaS --extra=+q"
|
||||
|
||||
ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $omnicppoptions \
|
||||
$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:-*}
|
||||
|
||||
ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $omnicppoptions \
|
||||
$ctags -h "+.hdl.hrc" --langmap=c:+.hrc.src,c++:+.hdl $omnicppoptions \
|
||||
--languages=-HTML,Java,JavaScript \
|
||||
-R --append=yes --totals=yes \
|
||||
workdir/UnoApiHeadersTarget/udkapi/normal \
|
||||
|
|
Loading…
Reference in a new issue