[cfe-commits] [libcxx] r148310 - /libcxx/trunk/Makefile
Howard Hinnant
hhinnant at apple.com
Tue Jan 17 09:01:19 PST 2012
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
More information about the cfe-commits
mailing list