patch 9.0.1839: No Makefile rule to build cscope database

Commit: 
https://github.com/vim/vim/commit/738ce77aa9e4922dd724d1470960285cbb9ab3c2
Author: Christian Brabandt <[email protected]>
Date:   Fri Sep 1 22:38:26 2023 +0200

    patch 9.0.1839: No Makefile rule to build cscope database
    
    Problem:  No Makefile rule to build cscope database
    Solution: Add rule
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/Makefile b/src/Makefile
index e7960dcbc..de94c82c4 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 512950a0a..5f6995cc6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1839,
 /**/
     1838,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1qcB0p-00B4qt-Dy%40256bit.org.

Raspunde prin e-mail lui