# HG changeset patch # User Christian Brabandt # Date 1504284305 -7200 # Node ID d4a3ad14620449c068087fe78f93985f2d4f7fab # Parent eb6a6a01ccd8ec9f8fb4a9c257234638e734a03a patch 8.0.1032: "make tags" doesn't work well on MS-Windows commit https://github.com/vim/vim/commit/9ac9dfa9e2b20659e5806982f027fa4fd637c3c7 Author: Bram Moolenaar Date: Fri Sep 1 18:41:26 2017 +0200 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) diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak --- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -76,6 +76,10 @@ endif # Set to yes to enable terminal support. 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 # 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 $(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: -$(DEL) $(OUTDIR)$(DIRSLASH)*.o -$(DEL) $(OUTDIR)$(DIRSLASH)*.res diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -344,7 +344,8 @@ FEATURES = HUGE !endif !ifndef CTAGS -CTAGS = ctags +# this assumes ctags is Exuberant ctags +CTAGS = ctags -I INIT+ --fields=+S !endif !ifndef CSCOPE @@ -1220,7 +1221,7 @@ GvimExt/gvimext.dll: GvimExt/gvimext.cpp tags: notags - $(CTAGS) *.c *.cpp *.h if_perl.xs proto\*.pro + $(CTAGS) *.c *.cpp *.h if_perl.xs notags: - if exist tags del tags diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1032, +/**/ 1031, /**/ 1030,