From db0bc3427e99d1c4b39f6b57a06c8cc452fb3c17 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Mon, 28 Jun 2010 17:19:47 +0000 Subject: [PATCH] Minor fixup git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@107022 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b5c2e4c0c..1e8418e6d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ DESTDIR = $(DSTROOT) OBJROOT=. SYMROOT=. -TRIPLE=-apple- +export TRIPLE=-apple- installsrc:: $(SRCROOT) @@ -21,10 +21,12 @@ clean:: installhdrs:: mkdir -p $(DSTROOT)/usr/include/c++/v1/ext - cp -r $(SRCDIRS)/include/* $(DSTROOT)/usr/include/c++/v1/ + rsync -r --exclude=".*" $(SRCDIRS)/include/* $(DSTROOT)/usr/include/c++/v1/ chown -R root:wheel $(DSTROOT)/usr/include chmod 755 $(DSTROOT)/usr/include/c++/v1 chmod 644 $(DSTROOT)/usr/include/c++/v1/* + chmod 755 $(DSTROOT)/usr/include/c++/v1/ext + chmod 644 $(DSTROOT)/usr/include/c++/v1/ext/* install:: installhdrs $(DESTDIR)