Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
18489:1cd44535be32 | 18490:31bbd4502885 |
---|---|
321 all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED) | 321 all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED) |
322 | 322 |
323 # Use Vim to generate the tags file. Can only be used when Vim has been | 323 # Use Vim to generate the tags file. Can only be used when Vim has been |
324 # compiled and installed. Supports multiple languages. | 324 # compiled and installed. Supports multiple languages. |
325 vimtags: $(DOCS) | 325 vimtags: $(DOCS) |
326 $(VIMEXE) -eX -u doctags.vim | 326 @if test -x $(VIMEXE); then $(VIMEXE) -eX -u doctags.vim; \ |
327 else echo "vim executable $(VIMEXE) not found"; fi | |
327 | 328 |
328 # Use "doctags" to generate the tags file. Only works for English! | 329 # Use "doctags" to generate the tags file. Only works for English! |
329 tags: doctags $(DOCS) | 330 tags: doctags $(DOCS) |
330 ./doctags $(DOCS) | LANG=C LC_ALL=C sort >tags | 331 ./doctags $(DOCS) | LANG=C LC_ALL=C sort >tags |
331 uniq -d -2 tags | 332 uniq -d -2 tags |