diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-03 18:38:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-03 18:38:47 +0100 |
commit | e890b9f5dd3ae76e301b2df7f3151366acaba5dc (patch) | |
tree | eebdcea905aa84b23d24dab0e059f48452d8e6da /runtime/doc/Makefile | |
parent | 1f068233c101ecf5966e6df14853fe68f08175a7 (diff) | |
download | vim-git-e890b9f5dd3ae76e301b2df7f3151366acaba5dc.tar.gz |
patch 8.1.2247: "make vimtags" does not work in runtime/docv8.1.2247
Problem: "make vimtags" does not work in runtime/doc.
Solution: Test existence with "which" instead of "test -x". (Ken Takata)
Diffstat (limited to 'runtime/doc/Makefile')
-rw-r--r-- | runtime/doc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile index 0cbe02026..cec670bf3 100644 --- a/runtime/doc/Makefile +++ b/runtime/doc/Makefile @@ -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! |