]> granicus.if.org Git - vim/commitdiff
patch 8.1.2247: "make vimtags" does not work in runtime/doc v8.1.2247
authorBram Moolenaar <Bram@vim.org>
Sun, 3 Nov 2019 17:38:47 +0000 (18:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 3 Nov 2019 17:38:47 +0000 (18:38 +0100)
Problem:    "make vimtags" does not work in runtime/doc.
Solution:   Test existence with "which" instead of "test -x". (Ken Takata)

runtime/doc/Makefile
src/version.c

index 0cbe0202600ee12b1a607207bf8739961fb34812..cec670bf35b7193331723975237cc31788ccbb4a 100644 (file)
@@ -323,7 +323,8 @@ all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
 # Use Vim to generate the tags file.  Can only be used when Vim has been
 # compiled and installed.  Supports multiple languages.
 vimtags: $(DOCS)
-       @if test -x $(VIMEXE); then $(VIMEXE) --clean -eX -u doctags.vim; \
+       @if which $(VIMEXE) >/dev/null; then \
+               $(VIMEXE) --clean -eX -u doctags.vim >/dev/null; \
                else echo "vim executable $(VIMEXE) not found"; fi
 
 # Use "doctags" to generate the tags file.  Only works for English!
index 5089d7d8b75861ae680da07b34b5d391cd2c34f1..62897987c5b1dfffa8a99aa7c5da908e07c09a2f 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2247,
 /**/
     2246,
 /**/