@@ -1052,6 +1052,7 @@ COLSUBDIR = /colors
10521052SYNSUBDIR = /syntax
10531053INDSUBDIR = /indent
10541054AUTOSUBDIR = /autoload
1055+ IMPORTSUBDIR = /import
10551056PLUGSUBDIR = /plugin
10561057FTPLUGSUBDIR = /ftplugin
10571058LANGSUBDIR = /lang
@@ -1074,6 +1075,7 @@ PODIR = po
10741075# ## SYNSUBLOC location for syntax files
10751076# ## INDSUBLOC location for indent files
10761077# ## AUTOSUBLOC location for standard autoload files
1078+ # ## IMPORTSUBLOC location for standard import files
10771079# ## PLUGSUBLOC location for standard plugin files
10781080# ## FTPLUGSUBLOC location for ftplugin files
10791081# ## LANGSUBLOC location for language files
@@ -1096,6 +1098,7 @@ COLSUBLOC = $(VIMRTLOC)$(COLSUBDIR)
10961098SYNSUBLOC = $(VIMRTLOC )$(SYNSUBDIR )
10971099INDSUBLOC = $(VIMRTLOC )$(INDSUBDIR )
10981100AUTOSUBLOC = $(VIMRTLOC )$(AUTOSUBDIR )
1101+ IMPORTSUBLOC = $(VIMRTLOC )$(IMPORTSUBDIR )
10991102PLUGSUBLOC = $(VIMRTLOC )$(PLUGSUBDIR )
11001103FTPLUGSUBLOC = $(VIMRTLOC )$(FTPLUGSUBDIR )
11011104LANGSUBLOC = $(VIMRTLOC )$(LANGSUBDIR )
@@ -1200,6 +1203,9 @@ INDSOURCE = ../runtime/indent
12001203# Where to copy the standard plugin files from
12011204AUTOSOURCE = ../runtime/autoload
12021205
1206+ # Where to copy the standard import files from
1207+ IMPORTSOURCE = ../runtime/import
1208+
12031209# Where to copy the standard plugin files from
12041210PLUGSOURCE = ../runtime/plugin
12051211
@@ -1475,6 +1481,7 @@ DEST_COL = $(DESTDIR)$(COLSUBLOC)
14751481DEST_SYN = $(DESTDIR )$(SYNSUBLOC )
14761482DEST_IND = $(DESTDIR )$(INDSUBLOC )
14771483DEST_AUTO = $(DESTDIR )$(AUTOSUBLOC )
1484+ DEST_IMPORT = $(DESTDIR )$(IMPORTSUBLOC )
14781485DEST_PLUG = $(DESTDIR )$(PLUGSUBLOC )
14791486DEST_FTP = $(DESTDIR )$(FTPLUGSUBLOC )
14801487DEST_LANG = $(DESTDIR )$(LANGSUBLOC )
@@ -2373,6 +2380,7 @@ installruntime: installrtbase installmacros installpack installtutor installspel
23732380installrtbase : $(HELPSOURCE ) /vim.1 $(DEST_VIM ) $(DEST_RT ) \
23742381 $(DEST_HELP ) $(DEST_PRINT ) $(DEST_COL ) $(DEST_SYN ) $(DEST_IND ) \
23752382 $(DEST_FTP ) $(DEST_AUTO ) $(DEST_AUTO ) /dist $(DEST_AUTO ) /xml \
2383+ $(DEST_IMPORT ) $(DEST_IMPORT ) /dist \
23762384 $(DEST_PLUG ) $(DEST_TUTOR ) $(DEST_SPELL ) $(DEST_COMP )
23772385 -$(SHELL ) ./installman.sh install $(DEST_MAN ) " " $(INSTALLMANARGS )
23782386# Generate the help tags with ":helptags" to handle all languages.
@@ -2451,6 +2459,9 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
24512459 cd $(DEST_AUTO)/dist; chmod $(HELPMOD) *.vim
24522460 cd $(AUTOSOURCE)/xml; $(INSTALL_DATA) *.vim $(DEST_AUTO)/xml
24532461 cd $(DEST_AUTO)/xml; chmod $(HELPMOD) *.vim
2462+ # install the standard import files
2463+ cd $(IMPORTSOURCE)/dist; $(INSTALL_DATA) *.vim $(DEST_IMPORT)/dist
2464+ cd $(DEST_IMPORT)/dist; chmod $(HELPMOD) *.vim
24542465# install the standard plugin files
24552466 cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG)
24562467 cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
@@ -2686,7 +2697,8 @@ $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
26862697 $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
26872698 $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \
26882699 $(DEST_PACK) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
2689- $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_PLUG):
2700+ $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
2701+ $(DEST_IMPORT) $(DEST_IMPORT)/dist $(DEST_PLUG):
26902702 $(MKDIR_P) $@
26912703 -chmod $(DIRMOD) $@
26922704
@@ -2872,8 +2884,10 @@ uninstall_runtime:
28722884 -rm -rf $(DEST_FTP ) /* .vim $(DEST_FTP ) /README.txt $(DEST_FTP ) /logtalk.dict
28732885 -rm -f $(DEST_AUTO ) /* .vim $(DEST_AUTO ) /README.txt
28742886 -rm -f $(DEST_AUTO ) /dist/* .vim $(DEST_AUTO ) /xml/* .vim
2887+ -rm -f $(DEST_IMPORT ) /dist/* .vim
28752888 -rm -f $(DEST_PLUG ) /* .vim $(DEST_PLUG ) /README.txt
28762889 -rmdir $(DEST_FTP ) $(DEST_AUTO ) /dist $(DEST_AUTO ) /xml $(DEST_AUTO )
2890+ -rmdir $(DEST_IMPORT ) /dist $(DEST_IMPORT )
28772891 -rmdir $(DEST_PLUG ) $(DEST_RT )
28782892# This will fail when other Vim versions are installed, no worries.
28792893 -rmdir $(DEST_VIM)
0 commit comments