changeset 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 1cd44535be32
children 2ccbede92fd5
files runtime/doc/Makefile src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
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)
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2239,
+/**/
     2238,
 /**/
     2237,