Author: hhinnant
Date: Tue Jan 17 11:01:18 2012
New Revision: 148310

URL: http://llvm.org/viewvc/llvm-project?rev=148310&view=rev
Log:
Put do-installhdrs target back into Makefile.

Modified:
    libcxx/trunk/Makefile

Modified: libcxx/trunk/Makefile
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/Makefile?rev=148310&r1=148309&r2=148310&view=diff
==============================================================================
--- libcxx/trunk/Makefile (original)
+++ libcxx/trunk/Makefile Tue Jan 17 11:01:18 2012
@@ -30,6 +30,17 @@
 
 clean::
 
+# The do-installhdrs target is also used by clang's runtime/libcxx makefile.
+do-installhdrs:
+       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::
 
        cd lib && ./buildit


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to