On Thu, Jul 5, 2018 at 8:06 AM, Elimar Riesebieter <[email protected]> wrote:
> To build vim in SHADOWDIR we need to copy Make_all.mak as well to
> $(SHADOWDIR).
>
> ---
>  src/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/Makefile b/src/Makefile
> index 2c4421ee2..016046fd5 100644
> --- a/src/Makefile
> +++ b/src/Makefile
> @@ -2687,7 +2687,7 @@ shadow:   runtime pixmaps
>         $(MKDIR_P) $(SHADOWDIR)/po
>         cd $(SHADOWDIR)/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim 
> ../../po/Makefile .
>         cd $(SHADOWDIR); rm -f auto/link.sed
> -       cp Makefile configure $(SHADOWDIR)
> +       cp Makefile Make_all.mak configure $(SHADOWDIR)
>         rm -f $(SHADOWDIR)/auto/config.mk $(SHADOWDIR)/config.mk.dist
>         cp config.mk.dist $(SHADOWDIR)/auto/config.mk
>         cp config.mk.dist $(SHADOWDIR)
> --
> 2.18.0


Since there is no reason a user would modify the Make_all.mak, a link
is enough (like for most other sources) -- see attached patch.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
# HG changeset patch
# Parent  5b8606d91016c548240f348191933e0e3527388e
Add Make_all.mak to target "shadow"

diff --git a/src/Makefile b/src/Makefile
--- a/src/Makefile
+++ b/src/Makefile
@@ -2676,17 +2676,17 @@ clean celan: testclean
 	fi
 
 # Make a shadow directory for compilation on another system or with different
 # features.
 SHADOWDIR = shadow
 
 shadow:	runtime pixmaps
 	$(MKDIR_P) $(SHADOWDIR)
-	cd $(SHADOWDIR); ln -s ../*.[chm] ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../vimtutor ../gvimtutor ../install-sh .
+	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
 	cd $(SHADOWDIR)/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
 	cd $(SHADOWDIR); rm -f auto/link.sed
 	cp Makefile configure $(SHADOWDIR)
 	rm -f $(SHADOWDIR)/auto/config.mk $(SHADOWDIR)/config.mk.dist
 	cp config.mk.dist $(SHADOWDIR)/auto/config.mk

Raspunde prin e-mail lui