diff src/Makefile @ 15201:ce92157deb4e v8.1.0610

patch 8.1.0610: MS-Windows ctags file list differs from Unix commit https://github.com/vim/vim/commit/6dc6703295362e0d4b81a3eceae6b0dd229b5d7e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 19 21:05:57 2018 +0100 patch 8.1.0610: MS-Windows ctags file list differs from Unix Problem: MS-Windows ctags file list differs from Unix. Solution: Define TAGS_FILES in the common makefile. (partly by Ken Takata)
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Dec 2018 21:15:05 +0100
parents 1cc5524d1081
children 54d2905bd5ab
line wrap: on
line diff
--- a/src/Makefile
+++ b/src/Makefile
@@ -1573,8 +1573,6 @@ include Make_all.mak
 #	   ALL_GUI_SRC: all GUI files for Unix
 #
 #		   SRC: files used for current configuration
-#	      TAGS_SRC: source files used for make tags
-#	     TAGS_INCL: include files used for make tags
 #	       ALL_SRC: source files used for make depend and make lint
 
 BASIC_SRC = \
@@ -1656,9 +1654,6 @@ SRC =	$(BASIC_SRC) \
 	$(WORKSHOP_SRC) \
 	$(WSDEBUG_SRC)
 
-TAGS_SRC = *.c *.cpp $(PERL_SRC) $(TERM_SRC) $(XDIFF_SRC)
-TAGS_INCL = *.h $(TERM_DEPS) $(XDIFF_INCL)
-
 EXTRA_SRC = hangulin.c if_lua.c if_mzsch.c auto/if_perl.c if_perlsfio.c \
 	    if_python.c if_python3.c if_tcl.c if_ruby.c \
 	    gui_beval.c workshop.c wsdebug.c integration.c \
@@ -2094,12 +2089,12 @@ notags:
 #	Motif and Athena GUI
 # You can ignore error messages for missing files.
 tags TAGS: notags
-	$(TAGPRG) $(TAGS_SRC) $(TAGS_INCL)
+	$(TAGPRG) $(TAGS_FILES)
 
 # Make a highlight file for types.  Requires Exuberant ctags and awk
 types: types.vim
-types.vim: $(TAGS_SRC) $(TAGS_INCL)
-	ctags --c-kinds=gstu -o- $(TAGS_SRC) $(TAGS_INCL) |\
+types.vim: $(TAGS_FILES)
+	ctags --c-kinds=gstu -o- $(TAGS_FILES) |\
 		awk 'BEGIN{printf("syntax keyword Type\t")}\
 			{printf("%s ", $$1)}END{print ""}' > $@
 	echo "syn keyword Constant OK FAIL TRUE FALSE MAYBE" >> $@