Hi,
2019/11/4 Mon 0:50:37 UTC+9 Tony Mechelynck wrote:
>
> After recompiling just 8.1.2245 there were no changes to the docs, so
> when running "make install" after that, runtime/doc/Makefile target
> "vimtags" did nothing; yet at that point (runtime/doc/Makefile line
> 325 or src/Makefile line 2373) 25 or so empty lines were written on
> the console. I'm baffled. (I'm compiling in a konsole 18.12.3 terminal
> maximized to 244 columns by 73 lines.)
>
> I checked that the --clean argument is still found at that point in
> the src/Makefile; but in this case Vim seems not to have been invoked
> anyway.
>
> Best regards,
> Tony.
>
> P.S. Here's the relevant part of the console output:
>
> generating help tags
> make[1]: Entering directory '/root/.build/vim/vim-hg/runtime/doc'
>
> ...
>
> make[1]: Leaving directory '/root/.build/vim/vim-hg/runtime/doc'
>
How about just redirecting stdout to null?
--- a/runtime/doc/Makefile
+++ b/runtime/doc/Makefile
@@ -323,7 +323,7 @@ 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)
- @if test -x $(VIMEXE); then $(VIMEXE) --clean -eX -u doctags.vim; \
+ @if test -x $(VIMEXE); then $(VIMEXE) -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!
I'm not sure whether --clean is really needed.
I'm also wandering `type $(VIMEXE) > /dev/null` might be better than `test
-x $(VIMEXE)`.
`test -x` doesn't allow to use vim in $PATH.
--- a/runtime/doc/Makefile
+++ b/runtime/doc/Makefile
@@ -323,7 +323,7 @@ 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)
- @if test -x $(VIMEXE); then $(VIMEXE) --clean -eX -u doctags.vim; \
+ @if type $(VIMEXE) > /dev/null; then $(VIMEXE) -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!
Regards,
Ken Takata
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/af7b8d97-f906-46b5-adc0-6f03c799ac9b%40googlegroups.com.