patch 9.1.0527: inconsistent parameter in Makefiles for Vim executable
Problem: inconsistent parameter in Makefiles for Vim executable
Solution: consistently use $VIMPROG across all Makefiles
(RestorerZ)
closes: #15099
Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
8ccb89016e
commit
cd33faf614
@ -1,5 +1,5 @@
|
||||
VIM_SRCDIR = ../../../src
|
||||
RUN_VIM = $(VIM_SRCDIR)/vim -N -u NONE -i NONE -n
|
||||
RUN_VIMPROG = $(VIM_SRCDIR)/vim -N -u NONE -i NONE -n
|
||||
REVISION ?= $(shell date +%Y-%m-%dT%H:%M:%S%:z)
|
||||
|
||||
SRC = $(VIM_SRCDIR)/eval.c $(VIM_SRCDIR)/ex_cmds.h $(VIM_SRCDIR)/ex_docmd.c \
|
||||
@ -15,13 +15,13 @@ generate: vim.vim
|
||||
vim.vim: vim.vim.rc update_date.vim
|
||||
@echo "Generating vim.vim ..."
|
||||
@cp -f vim.vim.rc ../vim.vim
|
||||
@$(RUN_VIM) -S update_date.vim
|
||||
@$(RUN_VIMPROG) -S update_date.vim
|
||||
@echo "done."
|
||||
|
||||
vim.vim.rc: gen_syntax_vim.vim vim.vim.base $(SRC)
|
||||
@echo "Generating vim.vim.rc ..."
|
||||
@rm -f sanity_check.err generator.err
|
||||
@$(RUN_VIM) -S gen_syntax_vim.vim
|
||||
@$(RUN_VIMPROG) -S gen_syntax_vim.vim
|
||||
@if test -f sanity_check.err ; then \
|
||||
echo ; \
|
||||
echo "Sanity errors:" ; \
|
||||
|
||||
Reference in New Issue
Block a user