diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-21 22:13:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-21 22:13:42 +0100 |
commit | 2387773d933bd6c483e44803db8ec79737ecf7ed (patch) | |
tree | 7c870c0ad9edd8698d42ea7b0123753c32115454 /runtime | |
parent | f0764e8bb6511aa3bf1d6f52852b4284676ee661 (diff) | |
download | vim-git-2387773d933bd6c483e44803db8ec79737ecf7ed.tar.gz |
patch 8.2.0140: CI does not test building doc tagsv8.2.0140
Problem: CI does not test building doc tags.
Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
closes #5513)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/Makefile | 5 | ||||
-rw-r--r-- | runtime/doc/doctags.vim | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile index e10415f9e..514a01237 100644 --- a/runtime/doc/Makefile +++ b/runtime/doc/Makefile @@ -323,10 +323,7 @@ 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 command -v $(VIMEXE); then \ - $(VIMEXE) --clean -eX -u doctags.vim >/dev/null && \ - echo "help tags updated"; \ - else echo "vim executable $(VIMEXE) not found; help tags not updated"; fi + @$(VIMEXE) --clean -esX -V1 -u doctags.vim # Use "doctags" to generate the tags file. Only works for English! tags: doctags $(DOCS) diff --git a/runtime/doc/doctags.vim b/runtime/doc/doctags.vim index 7dfbcc0ad..833dbefa6 100644 --- a/runtime/doc/doctags.vim +++ b/runtime/doc/doctags.vim @@ -2,5 +2,12 @@ " " Usage: vim -eX -u doctags.vim -helptags ++t . +try + helptags ++t . + echo 'help tags updated' +catch + echo v:exception + echo 'help tags failed update' +endtry +echo '' qa! |