Cygwin: revert handwritten tags/ctags target, take 2

Fix accidental checkin of the wrong test version

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2021-05-06 13:35:26 +02:00
parent a5b24cb241
commit 9ea0f37667
1 changed files with 9 additions and 13 deletions

View File

@ -8,7 +8,7 @@
# This makefile requires GNU make.
#AUTOMAKE_OPTIONS=-Wno-override
AUTOMAKE_OPTIONS=-Wno-override
include $(top_srcdir)/Makefile.am.common
@ -25,10 +25,6 @@ if TARGET_X86_64
AM_CCASFLAGS=-D_WIN64
endif
AM_CTAGSFLAGS=-R -f $(srcdir)/tags --c++-kinds=+p --fields=+iaS --extra=+q \
--regex-C++='/EXPORT_ALIAS *\([a-zA-Z0-9_]*, *([a-zA-Z0-9_]*)\)/\1/' \
--regex-C++='/__ASMNAME *\("([a-zA-Z0-9_]+)"\)/\1/'
target_builddir=@target_builddir@
newlib_build=$(target_builddir)/newlib
@ -776,11 +772,11 @@ uninstall-headers:
uninstall-ldif:
rm -f $(DESTDIR)$(datarootdir)/cygwin/cygwin.ldif
#ctags: CTAGS
#tags: CTAGS
#CTAGS:
# -cd $(srcdir) && \
# ctags -R --c++-kinds=+p --fields=+iaS --extra=+q \
# --regex-C++='/EXPORT_ALIAS *\([a-zA-Z0-9_]*, *([a-zA-Z0-9_]*)\)/\1/' \
# --regex-C++='/__ASMNAME *\("([a-zA-Z0-9_]+)"\)/\1/' \
# .
ctags: CTAGS
tags: CTAGS
CTAGS:
-cd $(srcdir) && \
ctags -R --c++-kinds=+p --fields=+iaS --extra=+q \
--regex-C++='/EXPORT_ALIAS *\([a-zA-Z0-9_]*, *([a-zA-Z0-9_]*)\)/\1/' \
--regex-C++='/__ASMNAME *\("([a-zA-Z0-9_]+)"\)/\1/' \
.