diff runtime/doc/Makefile @ 18490:31bbd4502885 v8.1.2239

patch 8.1.2239: CI fails when running tests without building Vim Commit: https://github.com/vim/vim/commit/1a577433ac77b74a965476799619ad0fb2676d31 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 2 18:22:08 2019 +0100 patch 8.1.2239: CI fails when running tests without building Vim Problem: CI fails when running tests without building Vim. Solution: Skip creating doc tags if the execute does not exist.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Nov 2019 18:30:03 +0100
parents 5b95ccb82c0a
children 7b1f8e4b32ba
line wrap: on
line diff
--- a/runtime/doc/Makefile
+++ b/runtime/doc/Makefile
@@ -323,7 +323,8 @@ all: tags vim.man evim.man vimdiff.man v
 # Use Vim to generate the tags file.  Can only be used when Vim has been
 # compiled and installed.  Supports multiple languages.
 vimtags: $(DOCS)
-	$(VIMEXE) -eX -u doctags.vim
+	@if test -x $(VIMEXE); then $(VIMEXE) -eX -u doctags.vim; \
+		else echo "vim executable $(VIMEXE) not found"; fi
 
 # Use "doctags" to generate the tags file.  Only works for English!
 tags: doctags $(DOCS)