]> granicus.if.org Git - vim/commitdiff
patch 8.1.0391: building in a shadow directory fails v8.1.0391
authorBram Moolenaar <Bram@vim.org>
Sat, 15 Sep 2018 13:08:52 +0000 (15:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Sep 2018 13:08:52 +0000 (15:08 +0200)
Problem:    Building in a shadow directory fails.
Solution:   Don't link the xdiff directory but what's in it. (closes #3428)

src/Makefile
src/version.c

index b0747c8b7b2fa6918c733703c771b264b23f0429..9c19281d805d64d020095451dfec2b3c25672f8c 100644 (file)
@@ -2765,7 +2765,7 @@ SHADOWDIR = shadow
 
 shadow:        runtime pixmaps
        $(MKDIR_P) $(SHADOWDIR)
-       cd $(SHADOWDIR); ln -s ../*.[chm] ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../xdiff ../libvterm ../vimtutor ../gvimtutor ../install-sh ../Make_all.mak .
+       cd $(SHADOWDIR); ln -s ../*.[chm] ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../vimtutor ../gvimtutor ../install-sh ../Make_all.mak .
        mkdir $(SHADOWDIR)/auto
        cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
        $(MKDIR_P) $(SHADOWDIR)/po
@@ -2777,6 +2777,8 @@ shadow:   runtime pixmaps
        cp config.mk.dist $(SHADOWDIR)
        $(MKDIR_P) $(SHADOWDIR)/xxd
        cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
+       $(MKDIR_P) $(SHADOWDIR)/xdiff
+       cd $(SHADOWDIR)/xdiff; ln -s ../../xdiff/*.[ch] .
        if test -d $(RSRC_DIR); then \
                cd $(SHADOWDIR); \
                ln -s ../infplist.xml .; \
index f9e9cf495b0d7e0b1d7df9e24b8c2d0acebabcef..3a2b065bc7e3852f8744518f8cf0cfde895b4abe 100644 (file)
@@ -794,6 +794,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    391,
 /**/
     390,
 /**/