Put do-installhdrs target back into Makefile.

llvm-svn: 148310
This commit is contained in:
Howard Hinnant 2012-01-17 17:01:18 +00:00
parent d6c77994b8
commit 26e8d17f79
1 changed files with 11 additions and 0 deletions

View File

@ -30,6 +30,17 @@ installsrc:: $(SRCROOT)
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