Skip to content

Commit

Permalink
patch 8.0.1032: "make tags" doesn't work well on MS-Windows
Browse files Browse the repository at this point in the history
Problem:    "make tags" doesn't work well on MS-Windows.
Solution:   Add or fix tags target. (Ken Takata)
  • Loading branch information
brammool committed Sep 1, 2017
1 parent 2c809b7 commit 9ac9dfa
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/Make_cyg_ming.mak
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions src/Make_mvc.mak
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -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,
/**/ /**/
Expand Down

0 comments on commit 9ac9dfa

Please sign in to comment.