mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 7.4.1633
Problem: If the help tags file was removed "make install" fails. (Tony Mechelynck) Solution: Only try moving the file if it exists.
This commit is contained in:
@@ -2115,11 +2115,11 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
|||||||
$(DEST_FTP) $(DEST_AUTO) $(DEST_AUTO)/xml $(DEST_PLUG) \
|
$(DEST_FTP) $(DEST_AUTO) $(DEST_AUTO)/xml $(DEST_PLUG) \
|
||||||
$(DEST_TUTOR) $(DEST_SPELL) $(DEST_COMP)
|
$(DEST_TUTOR) $(DEST_SPELL) $(DEST_COMP)
|
||||||
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
|
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
|
||||||
@echo generating help tags
|
|
||||||
# Generate the help tags with ":helptags" to handle all languages.
|
# Generate the help tags with ":helptags" to handle all languages.
|
||||||
# Move the distributed tags file aside and restore it, to avoid it being
|
# Move the distributed tags file aside and restore it, to avoid it being
|
||||||
# different from the repository.
|
# different from the repository.
|
||||||
cd $(HELPSOURCE); mv -f tags tags.dist
|
cd $(HELPSOURCE); if test -f tags; then mv -f tags tags.dist; fi
|
||||||
|
@echo generating help tags
|
||||||
-@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags
|
-@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags
|
||||||
cd $(HELPSOURCE); \
|
cd $(HELPSOURCE); \
|
||||||
files=`ls *.txt tags`; \
|
files=`ls *.txt tags`; \
|
||||||
@@ -2129,7 +2129,7 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
|
|||||||
chmod $(HELPMOD) $$files
|
chmod $(HELPMOD) $$files
|
||||||
$(INSTALL_DATA) $(HELPSOURCE)/*.pl $(DEST_HELP)
|
$(INSTALL_DATA) $(HELPSOURCE)/*.pl $(DEST_HELP)
|
||||||
chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl
|
chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl
|
||||||
cd $(HELPSOURCE); mv -f tags.dist tags
|
cd $(HELPSOURCE); if test -f tags.dist; then mv -f tags.dist tags; fi
|
||||||
# install the menu files
|
# install the menu files
|
||||||
$(INSTALL_DATA) $(SCRIPTSOURCE)/menu.vim $(SYS_MENU_FILE)
|
$(INSTALL_DATA) $(SCRIPTSOURCE)/menu.vim $(SYS_MENU_FILE)
|
||||||
chmod $(VIMSCRIPTMOD) $(SYS_MENU_FILE)
|
chmod $(VIMSCRIPTMOD) $(SYS_MENU_FILE)
|
||||||
|
@@ -748,6 +748,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 */
|
||||||
|
/**/
|
||||||
|
1633,
|
||||||
/**/
|
/**/
|
||||||
1632,
|
1632,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user