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

Bob Wilson bob.wilson at apple.com
Tue Apr 23 11:51:51 PDT 2013


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





More information about the cfe-commits mailing list