summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-11-07 21:14:50 +0900
committerNoel Grandin <noelgrandin@gmail.com>2014-11-11 11:40:13 +0000
commit775d99c87bed9bd7d9dc10e1110990bd2c5d905e (patch)
treeded4d486e708e55e920298e920533d7e34c9ead8 /solenv
parent27b8fd533ac181aabcf1a2bcb2ce8aa82faa64af (diff)
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>
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/create-tags9
1 files changed, 7 insertions, 2 deletions
diff --git a/solenv/bin/create-tags b/solenv/bin/create-tags
index 1d3f2a5d4fe7..2ca41cd2d5e5 100755
--- a/solenv/bin/create-tags
+++ b/solenv/bin/create-tags
@@ -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 \