summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-09-01 22:38:26 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-01 22:38:26 +0200
commit738ce77aa9e4922dd724d1470960285cbb9ab3c2 (patch)
treece4b80120f33610da60bdf631bb5b88de81f1618
parentf3db141aed575d8bd43f1f0832eb40d91739a2c4 (diff)
patch 9.0.1839: No Makefile rule to build cscope databasev9.0.1839
Problem: No Makefile rule to build cscope database Solution: Add rule Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--src/Makefile9
-rw-r--r--src/version.c2
2 files changed, 11 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index e7960dcbc2..de94c82c4a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -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)
diff --git a/src/version.c b/src/version.c
index 512950a0ae..5f6995cc61 100644
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1839,
+/**/
1838,
/**/
1837,