Stop installing headers, this is now done by clang
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@148309 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Makefile b/Makefile
index ec68880..38bd56c 100644
--- a/Makefile
+++ b/Makefile
@@ -30,26 +30,7 @@
clean::
-installhdrs::
-
- $(MAKE) HEADER_DIR=$(INSTALL_DIR)/usr/include do-installhdrs
- $(MAKE) HEADER_DIR=$(INSTALL_DIR)/usr/lib do-installhdrs
- $(MAKE) HEADER_DIR=$(INSTALL_DIR)/usr/clang-ide/lib do-installhdrs
- $(MAKE) HEADER_DIR=$(INSTALL_DIR)/Developer/usr/lib do-installhdrs
- $(MAKE) HEADER_DIR=$(INSTALL_DIR)/Developer/Platforms/iPhoneOS.platform/usr/lib do-installhdrs
-
-# 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:: installhdrs $(DESTDIR)
+install::
cd lib && ./buildit
ditto lib/libc++.1.dylib $(SYMROOT)/usr/lib/libc++.1.dylib