Ken Takata wrote:

> 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.

One never knows what mappings and autocommands a user has, better avoid
them.

> 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.

Right, "make vimtags" doesn't work.  I'm not sure how widespread "type"
is, I think "which" should be safer.


-- 
How To Keep A Healthy Level Of Insanity:
7. Finish all your sentences with "in accordance with the prophecy".

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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/201911031739.xA3HdATl022663%40masaka.moolenaar.net.

Raspunde prin e-mail lui