forked from aniani/vim
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
@@ -12,7 +12,7 @@
|
||||
|
||||
# Correct the following line for the where executeable file vim is installed.
|
||||
# Please do not put the path in quotes.
|
||||
VIMEXE = D:\Programs\Vim\vim90\vim.exe
|
||||
VIMPROG = D:\Programs\Vim\vim90\vim.exe
|
||||
|
||||
# Correct the following line for the directory where iconv installed.
|
||||
# Please do not put the path in quotes.
|
||||
@@ -63,7 +63,7 @@ doctags : doctags.c
|
||||
# Use Vim to generate the tags file. Can only be used when Vim has been
|
||||
# compiled and installed. Supports multiple languages.
|
||||
vimtags : $(DOCS)
|
||||
@"$(VIMEXE)" --clean -esX -V1 -u doctags.vim
|
||||
@"$(VIMPROG)" --clean -esX -V1 -u doctags.vim
|
||||
|
||||
|
||||
uganda.nsis.txt : uganda.???
|
||||
@@ -105,7 +105,7 @@ perlhtml : tags $(DOCS)
|
||||
|
||||
# Check URLs in the help with "curl" or "powershell".
|
||||
test_urls :
|
||||
"$(VIMEXE)" --clean -S test_urls.vim
|
||||
"$(VIMPROG)" --clean -S test_urls.vim
|
||||
|
||||
clean :
|
||||
$(RM) doctags.exe doctags.obj
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
AWK = awk
|
||||
|
||||
# Set to $(VIMTARGET) when executed from src/Makefile.
|
||||
VIMEXE = vim
|
||||
VIMPROG = vim
|
||||
|
||||
# include the config.mk from the source directory. It's only needed to set
|
||||
# AWK, used for "make html". Comment this out if the include gives problems.
|
||||
@@ -25,7 +25,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)
|
||||
@$(VIMEXE) --clean -esX -V1 -u doctags.vim
|
||||
@$(VIMPROG) --clean -esX -V1 -u doctags.vim
|
||||
|
||||
# Use "doctags" to generate the tags file. Only works for English!
|
||||
tags: doctags $(DOCS)
|
||||
@@ -57,7 +57,7 @@ uganda.nsis.txt : uganda.???
|
||||
$${dpn} | uniq > $${trg%txt}$${dpn##*.}; \
|
||||
done
|
||||
# This files needs to be in dos fileformat for NSIS.
|
||||
$(VIMEXE) -e -X -u NONE --cmd "set notitle noicon nocp noml viminfo=" \
|
||||
$(VIMPROG) -e -X -u NONE --cmd "set notitle noicon nocp noml viminfo=" \
|
||||
-c "argdo write ++ff=dos" -c "qa" uganda.nsis.???
|
||||
|
||||
# Awk version of .txt to .html conversion.
|
||||
@@ -91,7 +91,7 @@ perlhtml: tags $(DOCS)
|
||||
|
||||
# Check URLs in the help with "curl".
|
||||
test_urls:
|
||||
$(VIMEXE) --clean -S test_urls.vim
|
||||
$(VIMPROG) --clean -S test_urls.vim
|
||||
|
||||
clean:
|
||||
-rm -f doctags *.html tags.ref
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
VIM = vim.exe
|
||||
VIMPROG = vim.exe
|
||||
VIMRUNTIME = ..
|
||||
|
||||
# Run the tests that didn't run yet or failed previously.
|
||||
@@ -12,7 +12,7 @@ VIMRUNTIME = ..
|
||||
# If a test fails a testdir\*.fail file will be written.
|
||||
test :
|
||||
@ set "VIMRUNTIME=$(VIMRUNTIME)"
|
||||
$(VIM) --clean --not-a-term -u testdir\runtest.vim
|
||||
$(VIMPROG) --clean --not-a-term -u testdir\runtest.vim
|
||||
|
||||
|
||||
clean testclean :
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
.SUFFIXES:
|
||||
.PHONY: test clean testclean
|
||||
|
||||
VIM = vim
|
||||
VIMPROG = vim
|
||||
VIMRUNTIME = ..
|
||||
|
||||
# Run the tests that didn't run yet or failed previously.
|
||||
# If a test succeeds a testdir/*.out file will be written.
|
||||
# If a test fails a testdir/*.fail file will be written.
|
||||
test:
|
||||
VIMRUNTIME=$(VIMRUNTIME) $(VIM) --clean --not-a-term -u testdir/runtest.vim
|
||||
VIMRUNTIME=$(VIMRUNTIME) $(VIMPROG) --clean --not-a-term -u testdir/runtest.vim
|
||||
|
||||
|
||||
clean testclean:
|
||||
|
||||
@@ -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