0
0
mirror of https://github.com/vim/vim.git synced 2025-10-27 09:24:23 -04:00

patch 8.0.1032: "make tags" doesn't work well on MS-Windows

Problem:    "make tags" doesn't work well on MS-Windows.
Solution:   Add or fix tags target. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2017-09-01 18:41:26 +02:00
parent 2c809b7c7d
commit 9ac9dfa9e2
3 changed files with 15 additions and 2 deletions

View File

@@ -76,6 +76,10 @@ endif
# Set to yes to enable terminal support. # Set to yes to enable terminal support.
TERMINAL=no TERMINAL=no
ifndef CTAGS
# this assumes ctags is Exuberant ctags
CTAGS = ctags -I INIT+ --fields=+S
endif
# Link against the shared version of libstdc++ by default. Set # Link against the shared version of libstdc++ by default. Set
# STATIC_STDCPLUS to "yes" to link against static version instead. # STATIC_STDCPLUS to "yes" to link against static version instead.
@@ -885,6 +889,12 @@ xxd/xxd.exe: xxd/xxd.c
GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
$(MAKE) -C GvimExt -f Make_ming.mak CROSS=$(CROSS) CROSS_COMPILE=$(CROSS_COMPILE) CXX='$(CXX)' STATIC_STDCPLUS=$(STATIC_STDCPLUS) $(MAKE) -C GvimExt -f Make_ming.mak CROSS=$(CROSS) CROSS_COMPILE=$(CROSS_COMPILE) CXX='$(CXX)' STATIC_STDCPLUS=$(STATIC_STDCPLUS)
tags: notags
$(CTAGS) *.c *.cpp *.h if_perl.xs
notags:
-$(DEL) tags
clean: clean:
-$(DEL) $(OUTDIR)$(DIRSLASH)*.o -$(DEL) $(OUTDIR)$(DIRSLASH)*.o
-$(DEL) $(OUTDIR)$(DIRSLASH)*.res -$(DEL) $(OUTDIR)$(DIRSLASH)*.res

View File

@@ -344,7 +344,8 @@ FEATURES = HUGE
!endif !endif
!ifndef CTAGS !ifndef CTAGS
CTAGS = ctags # this assumes ctags is Exuberant ctags
CTAGS = ctags -I INIT+ --fields=+S
!endif !endif
!ifndef CSCOPE !ifndef CSCOPE
@@ -1220,7 +1221,7 @@ GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
tags: notags tags: notags
$(CTAGS) *.c *.cpp *.h if_perl.xs proto\*.pro $(CTAGS) *.c *.cpp *.h if_perl.xs
notags: notags:
- if exist tags del tags - if exist tags del tags

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1032,
/**/ /**/
1031, 1031,
/**/ /**/