[cfe-commits] [libcxx] r107022 - /libcxx/trunk/Makefile

Howard Hinnant hhinnant at apple.com
Mon Jun 28 10:19:48 PDT 2010


Author: hhinnant
Date: Mon Jun 28 12:19:47 2010
New Revision: 107022

URL: http://llvm.org/viewvc/llvm-project?rev=107022&view=rev
Log:
Minor fixup

Modified:
    libcxx/trunk/Makefile

Modified: libcxx/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/Makefile?rev=107022&r1=107021&r2=107022&view=diff
==============================================================================
--- libcxx/trunk/Makefile (original)
+++ libcxx/trunk/Makefile Mon Jun 28 12:19:47 2010
@@ -7,7 +7,7 @@
 
 OBJROOT=.
 SYMROOT=.
-TRIPLE=-apple-
+export TRIPLE=-apple-
 
 installsrc:: $(SRCROOT)
 
@@ -21,10 +21,12 @@
 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)
 





More information about the cfe-commits mailing list