This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] cygwin: improve tags generation
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 27 Nov 2017 13:37:25 -0000
- Subject: [newlib-cygwin] cygwin: improve tags generation
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=bc14f1c17487244f9a3c0fccd3400788635a0d48
commit bc14f1c17487244f9a3c0fccd3400788635a0d48
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Mon Nov 27 13:38:43 2017 +0100
cygwin: improve tags generation
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/Makefile.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index add1de0..bc45208 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -774,7 +774,10 @@ sigfe.o: sigfe.s $(srcdir)/$(TLSOFFSETS_H)
ctags: CTAGS
tags: CTAGS
CTAGS:
- -cd $(srcdir) && ctags -R --regex-C++='/^([a-zA-Z0-9_]*::[a-zA-Z0-9_]*) /\1/f/' .
+ -cd $(srcdir) && \
+ ctags -R --c++-kinds=+p --fields=+iaS --extra=+q \
+ --regex-C++='/EXPORT_ALIAS *\([[a-zA-Z0-9_]*, *([a-zA-Z0-9_]*)\)/\1/' \
+ @newlib_headers@ .
deps:=${wildcard *.d}
ifneq (,$(deps))