]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1839: No Makefile rule to build cscope database v9.0.1839
authorChristian Brabandt <cb@256bit.org>
Fri, 1 Sep 2023 20:38:26 +0000 (22:38 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 1 Sep 2023 20:38:26 +0000 (22:38 +0200)
Problem:  No Makefile rule to build cscope database
Solution: Add rule

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/Makefile
src/version.c

index e7960dcbc23f9d5bdd2cd2c833143d9b90f95121..de94c82c4a611770309a1aab7b5cd5c932534e4d 100644 (file)
@@ -2151,6 +2151,15 @@ notags:
 tags TAGS: notags
        $(TAGPRG) $(TAGS_FILES)
 
+# Build the cscope database.
+# This may search more files than necessary.
+.PHONY: cscope csclean
+csclean:
+       -rm -vf cscope.out
+cscope.out:
+       cscope -bv ./*.[ch] ./*.cpp ./if_perl.xs auto/*.h auto/pathdef.c proto/*.pro xxd/xxd.c
+cscope: csclean cscope.out  ;
+
 # Make a highlight file for types.  Requires Exuberant ctags and awk
 types: types.vim
 types.vim: $(TAGS_FILES)
index 512950a0ae0625a1ac5ece0b66c3dd021e6c2653..5f6995cc61e0297bb9270a76ce1e0bba88faf741 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1839,
 /**/
     1838,
 /**/