Skip to content

Commit a3442cb

Browse files
committed
patch 7.4.1556
Problem: "make install" changes the help tags file, causing it to differ from the repository. Solution: Move it aside and restore it.
1 parent fff341e commit a3442cb

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,6 +2112,9 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
21122112
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
21132113
@echo generating help tags
21142114
# Generate the help tags with ":helptags" to handle all languages.
2115+
# Move the distributed tags file aside and restore it, to avoid it being
2116+
# different from the repository.
2117+
cd $(HELPSOURCE); mv -f tags tags.dist
21152118
-@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags
21162119
cd $(HELPSOURCE); \
21172120
files=`ls *.txt tags`; \
@@ -2121,6 +2124,7 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
21212124
chmod $(HELPMOD) $$files
21222125
$(INSTALL_DATA) $(HELPSOURCE)/*.pl $(DEST_HELP)
21232126
chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl
2127+
cd $(HELPSOURCE); mv -f tags.dist tags
21242128
# install the menu files
21252129
$(INSTALL_DATA) $(SCRIPTSOURCE)/menu.vim $(SYS_MENU_FILE)
21262130
chmod $(VIMSCRIPTMOD) $(SYS_MENU_FILE)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1556,
746748
/**/
747749
1555,
748750
/**/

0 commit comments

Comments
 (0)