]> granicus.if.org Git - vim/commitdiff
patch 7.4.1556 v7.4.1556
authorBram Moolenaar <Bram@vim.org>
Sun, 13 Mar 2016 13:34:12 +0000 (14:34 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 13 Mar 2016 13:34:12 +0000 (14:34 +0100)
Problem:    "make install" changes the help tags file, causing it to differ
            from the repository.
Solution:   Move it aside and restore it.

src/Makefile
src/version.c

index 2b17db5a4c542a27283cd734ab0c41b2deedc197..a52a1f3b820278b711259a79a58562254e415c18 100644 (file)
@@ -2112,6 +2112,9 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
        -$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
        @echo generating help tags
 # Generate the help tags with ":helptags" to handle all languages.
+# Move the distributed tags file aside and restore it, to avoid it being
+# different from the repository.
+       cd $(HELPSOURCE); mv -f tags tags.dist
        -@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags
        cd $(HELPSOURCE); \
                files=`ls *.txt tags`; \
@@ -2121,6 +2124,7 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
                chmod $(HELPMOD) $$files
        $(INSTALL_DATA)  $(HELPSOURCE)/*.pl $(DEST_HELP)
        chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl
+       cd $(HELPSOURCE); mv -f tags.dist tags
 # install the menu files
        $(INSTALL_DATA) $(SCRIPTSOURCE)/menu.vim $(SYS_MENU_FILE)
        chmod $(VIMSCRIPTMOD) $(SYS_MENU_FILE)
index 38d89c1a8902da00c27e58326f93c38c82d85d3f..9c15aafc810fb9ac2ff93136ba2e77fce0622758 100644 (file)
@@ -743,6 +743,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1556,
 /**/
     1555,
 /**/