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

Bob Wilson bob.wilson at apple.com
Fri Sep 21 13:49:54 PDT 2012


Author: bwilson
Date: Fri Sep 21 15:49:54 2012
New Revision: 164413

URL: http://llvm.org/viewvc/llvm-project?rev=164413&view=rev
Log:
Fix installheaders target to do what it did prior to r161760. rdar://12348765

Modified:
    libcxx/trunk/Makefile

Modified: libcxx/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/Makefile?rev=164413&r1=164412&r2=164413&view=diff
==============================================================================
--- libcxx/trunk/Makefile (original)
+++ libcxx/trunk/Makefile Fri Sep 21 15:49:54 2012
@@ -30,7 +30,16 @@
 
 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/
+	chown -R root:wheel $(HEADER_DIR)/c++
+	chmod 755 $(HEADER_DIR)/c++/v1
+	chmod 644 $(HEADER_DIR)/c++/v1/*
+	chmod 755 $(HEADER_DIR)/c++/v1/ext
+	chmod 644 $(HEADER_DIR)/c++/v1/ext/*
 
 install::
 





More information about the cfe-commits mailing list