From 9493e27c0f8a3f85a090a77480c682b4a3fd11c9 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Tue, 23 Apr 2013 18:51:51 +0000 Subject: [PATCH] PR15820: Use tar instead of rsync to install the headers. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180132 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fd32603c..d8ca9eb7 100644 --- a/Makefile +++ b/Makefile @@ -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