mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 8.2.4893: distributed import files are not installed
Problem: Distributed import files are not installed. Solution: Add rules to Makefile and NSIS.
This commit is contained in:
@ -403,6 +403,9 @@ Section "$(str_section_exe)" id_section_exe
|
|||||||
SetOutPath $0\autoload\xml
|
SetOutPath $0\autoload\xml
|
||||||
File ${VIMRT}\autoload\xml\*.*
|
File ${VIMRT}\autoload\xml\*.*
|
||||||
|
|
||||||
|
SetOutPath $0\import\dist
|
||||||
|
File ${VIMRT}\import\dist\*.*
|
||||||
|
|
||||||
SetOutPath $0\bitmaps
|
SetOutPath $0\bitmaps
|
||||||
File ${VIMSRC}\vim.ico
|
File ${VIMSRC}\vim.ico
|
||||||
|
|
||||||
@ -1044,6 +1047,7 @@ Section "un.$(str_unsection_exe)" id_unsection_exe
|
|||||||
RMDir /r $0\compiler
|
RMDir /r $0\compiler
|
||||||
RMDir /r $0\doc
|
RMDir /r $0\doc
|
||||||
RMDir /r $0\ftplugin
|
RMDir /r $0\ftplugin
|
||||||
|
RMDir /r $0\import
|
||||||
RMDir /r $0\indent
|
RMDir /r $0\indent
|
||||||
RMDir /r $0\macros
|
RMDir /r $0\macros
|
||||||
RMDir /r $0\pack
|
RMDir /r $0\pack
|
||||||
|
16
src/Makefile
16
src/Makefile
@ -1052,6 +1052,7 @@ COLSUBDIR = /colors
|
|||||||
SYNSUBDIR = /syntax
|
SYNSUBDIR = /syntax
|
||||||
INDSUBDIR = /indent
|
INDSUBDIR = /indent
|
||||||
AUTOSUBDIR = /autoload
|
AUTOSUBDIR = /autoload
|
||||||
|
IMPORTSUBDIR = /import
|
||||||
PLUGSUBDIR = /plugin
|
PLUGSUBDIR = /plugin
|
||||||
FTPLUGSUBDIR = /ftplugin
|
FTPLUGSUBDIR = /ftplugin
|
||||||
LANGSUBDIR = /lang
|
LANGSUBDIR = /lang
|
||||||
@ -1074,6 +1075,7 @@ PODIR = po
|
|||||||
### SYNSUBLOC location for syntax files
|
### SYNSUBLOC location for syntax files
|
||||||
### INDSUBLOC location for indent files
|
### INDSUBLOC location for indent files
|
||||||
### AUTOSUBLOC location for standard autoload files
|
### AUTOSUBLOC location for standard autoload files
|
||||||
|
### IMPORTSUBLOC location for standard import files
|
||||||
### PLUGSUBLOC location for standard plugin files
|
### PLUGSUBLOC location for standard plugin files
|
||||||
### FTPLUGSUBLOC location for ftplugin files
|
### FTPLUGSUBLOC location for ftplugin files
|
||||||
### LANGSUBLOC location for language files
|
### LANGSUBLOC location for language files
|
||||||
@ -1096,6 +1098,7 @@ COLSUBLOC = $(VIMRTLOC)$(COLSUBDIR)
|
|||||||
SYNSUBLOC = $(VIMRTLOC)$(SYNSUBDIR)
|
SYNSUBLOC = $(VIMRTLOC)$(SYNSUBDIR)
|
||||||
INDSUBLOC = $(VIMRTLOC)$(INDSUBDIR)
|
INDSUBLOC = $(VIMRTLOC)$(INDSUBDIR)
|
||||||
AUTOSUBLOC = $(VIMRTLOC)$(AUTOSUBDIR)
|
AUTOSUBLOC = $(VIMRTLOC)$(AUTOSUBDIR)
|
||||||
|
IMPORTSUBLOC = $(VIMRTLOC)$(IMPORTSUBDIR)
|
||||||
PLUGSUBLOC = $(VIMRTLOC)$(PLUGSUBDIR)
|
PLUGSUBLOC = $(VIMRTLOC)$(PLUGSUBDIR)
|
||||||
FTPLUGSUBLOC = $(VIMRTLOC)$(FTPLUGSUBDIR)
|
FTPLUGSUBLOC = $(VIMRTLOC)$(FTPLUGSUBDIR)
|
||||||
LANGSUBLOC = $(VIMRTLOC)$(LANGSUBDIR)
|
LANGSUBLOC = $(VIMRTLOC)$(LANGSUBDIR)
|
||||||
@ -1200,6 +1203,9 @@ INDSOURCE = ../runtime/indent
|
|||||||
# Where to copy the standard plugin files from
|
# Where to copy the standard plugin files from
|
||||||
AUTOSOURCE = ../runtime/autoload
|
AUTOSOURCE = ../runtime/autoload
|
||||||
|
|
||||||
|
# Where to copy the standard import files from
|
||||||
|
IMPORTSOURCE = ../runtime/import
|
||||||
|
|
||||||
# Where to copy the standard plugin files from
|
# Where to copy the standard plugin files from
|
||||||
PLUGSOURCE = ../runtime/plugin
|
PLUGSOURCE = ../runtime/plugin
|
||||||
|
|
||||||
@ -1475,6 +1481,7 @@ DEST_COL = $(DESTDIR)$(COLSUBLOC)
|
|||||||
DEST_SYN = $(DESTDIR)$(SYNSUBLOC)
|
DEST_SYN = $(DESTDIR)$(SYNSUBLOC)
|
||||||
DEST_IND = $(DESTDIR)$(INDSUBLOC)
|
DEST_IND = $(DESTDIR)$(INDSUBLOC)
|
||||||
DEST_AUTO = $(DESTDIR)$(AUTOSUBLOC)
|
DEST_AUTO = $(DESTDIR)$(AUTOSUBLOC)
|
||||||
|
DEST_IMPORT = $(DESTDIR)$(IMPORTSUBLOC)
|
||||||
DEST_PLUG = $(DESTDIR)$(PLUGSUBLOC)
|
DEST_PLUG = $(DESTDIR)$(PLUGSUBLOC)
|
||||||
DEST_FTP = $(DESTDIR)$(FTPLUGSUBLOC)
|
DEST_FTP = $(DESTDIR)$(FTPLUGSUBLOC)
|
||||||
DEST_LANG = $(DESTDIR)$(LANGSUBLOC)
|
DEST_LANG = $(DESTDIR)$(LANGSUBLOC)
|
||||||
@ -2373,6 +2380,7 @@ installruntime: installrtbase installmacros installpack installtutor installspel
|
|||||||
installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
||||||
$(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
|
$(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
|
||||||
$(DEST_FTP) $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
|
$(DEST_FTP) $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
|
||||||
|
$(DEST_IMPORT) $(DEST_IMPORT)/dist \
|
||||||
$(DEST_PLUG) $(DEST_TUTOR) $(DEST_SPELL) $(DEST_COMP)
|
$(DEST_PLUG) $(DEST_TUTOR) $(DEST_SPELL) $(DEST_COMP)
|
||||||
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
|
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
|
||||||
# Generate the help tags with ":helptags" to handle all languages.
|
# Generate the help tags with ":helptags" to handle all languages.
|
||||||
@ -2451,6 +2459,9 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
|||||||
cd $(DEST_AUTO)/dist; chmod $(HELPMOD) *.vim
|
cd $(DEST_AUTO)/dist; chmod $(HELPMOD) *.vim
|
||||||
cd $(AUTOSOURCE)/xml; $(INSTALL_DATA) *.vim $(DEST_AUTO)/xml
|
cd $(AUTOSOURCE)/xml; $(INSTALL_DATA) *.vim $(DEST_AUTO)/xml
|
||||||
cd $(DEST_AUTO)/xml; chmod $(HELPMOD) *.vim
|
cd $(DEST_AUTO)/xml; chmod $(HELPMOD) *.vim
|
||||||
|
# install the standard import files
|
||||||
|
cd $(IMPORTSOURCE)/dist; $(INSTALL_DATA) *.vim $(DEST_IMPORT)/dist
|
||||||
|
cd $(DEST_IMPORT)/dist; chmod $(HELPMOD) *.vim
|
||||||
# install the standard plugin files
|
# install the standard plugin files
|
||||||
cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG)
|
cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG)
|
||||||
cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
|
cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
|
||||||
@ -2686,7 +2697,8 @@ $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
|
|||||||
$(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
|
$(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
|
||||||
$(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \
|
$(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \
|
||||||
$(DEST_PACK) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
|
$(DEST_PACK) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
|
||||||
$(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_PLUG):
|
$(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
|
||||||
|
$(DEST_IMPORT) $(DEST_IMPORT)/dist $(DEST_PLUG):
|
||||||
$(MKDIR_P) $@
|
$(MKDIR_P) $@
|
||||||
-chmod $(DIRMOD) $@
|
-chmod $(DIRMOD) $@
|
||||||
|
|
||||||
@ -2872,8 +2884,10 @@ uninstall_runtime:
|
|||||||
-rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt $(DEST_FTP)/logtalk.dict
|
-rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt $(DEST_FTP)/logtalk.dict
|
||||||
-rm -f $(DEST_AUTO)/*.vim $(DEST_AUTO)/README.txt
|
-rm -f $(DEST_AUTO)/*.vim $(DEST_AUTO)/README.txt
|
||||||
-rm -f $(DEST_AUTO)/dist/*.vim $(DEST_AUTO)/xml/*.vim
|
-rm -f $(DEST_AUTO)/dist/*.vim $(DEST_AUTO)/xml/*.vim
|
||||||
|
-rm -f $(DEST_IMPORT)/dist/*.vim
|
||||||
-rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
|
-rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
|
||||||
-rmdir $(DEST_FTP) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_AUTO)
|
-rmdir $(DEST_FTP) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_AUTO)
|
||||||
|
-rmdir $(DEST_IMPORT)/dist $(DEST_IMPORT)
|
||||||
-rmdir $(DEST_PLUG) $(DEST_RT)
|
-rmdir $(DEST_PLUG) $(DEST_RT)
|
||||||
# This will fail when other Vim versions are installed, no worries.
|
# This will fail when other Vim versions are installed, no worries.
|
||||||
-rmdir $(DEST_VIM)
|
-rmdir $(DEST_VIM)
|
||||||
|
@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4893,
|
||||||
/**/
|
/**/
|
||||||
4892,
|
4892,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user