[libcxx] r180132 - PR15820: Use tar instead of rsync to install the headers.

Bob Wilson bob.wilson at apple.com
Wed Mar 12 12:48:58 PDT 2014


On Mar 11, 2014, at 5:40 PM, Nico Weber <thakis at chromium.org> wrote:

> This now also installs the .svn directory. Is that intentional?

Definitely not intentional!  I will fix that.

> 
> 
> On Tue, Apr 23, 2013 at 11:51 AM, Bob Wilson <bob.wilson at apple.com> wrote:
> Author: bwilson
> Date: Tue Apr 23 13:51:51 2013
> New Revision: 180132
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=180132&view=rev
> Log:
> PR15820: Use tar instead of rsync to install the headers.
> 
> Modified:
>     libcxx/trunk/Makefile
> 
> Modified: libcxx/trunk/Makefile
> URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/Makefile?rev=180132&r1=180131&r2=180132&view=diff
> ==============================================================================
> --- libcxx/trunk/Makefile (original)
> +++ libcxx/trunk/Makefile Tue Apr 23 13:51:51 2013
> @@ -33,8 +33,8 @@ clean::
>  # The installheaders target is used by clang's runtime/libcxx makefile.
>  installheaders::
>         mkdir -p $(HEADER_DIR)/c++/v1/ext
> -       rsync -r --exclude=".*" --exclude="support" $(SRCDIRS)/include/* \
> -         $(HEADER_DIR)/c++/v1/
> +       (cd $(SRCDIRS)/include && tar cf - --exclude=support .) | \
> +         (cd $(HEADER_DIR)/c++/v1 && tar xf -)
>         chmod 755 $(HEADER_DIR)/c++/v1
>         chmod 644 $(HEADER_DIR)/c++/v1/*
>         chmod 755 $(HEADER_DIR)/c++/v1/ext
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140312/509283e6/attachment.html>


More information about the cfe-commits mailing list