patch 8.1.2247: "make vimtags" does not work in runtime/doc

Problem:    "make vimtags" does not work in runtime/doc.
Solution:   Test existence with "which" instead of "test -x". (Ken Takata)
This commit is contained in:
Bram Moolenaar
2019-11-03 18:38:47 +01:00
parent 1f068233c1
commit e890b9f5dd
2 changed files with 4 additions and 1 deletions

View 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!

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2247,
/**/
2246,
/**/