summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-04-30 17:59:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-04-30 17:59:38 +0000
commit25cf7b4e9198026c8872203874d04b36831af969 (patch)
treeaf6eb1d32b5752708228a40cbc0467facb906872 /Makefile
parent866163bf6c66211a9b4d5ba160ac02de04ce4be6 (diff)
downloadclang-25cf7b4e9198026c8872203874d04b36831af969.tar.gz
clang-25cf7b4e9198026c8872203874d04b36831af969.tar.bz2
clang-25cf7b4e9198026c8872203874d04b36831af969.tar.xz
Move include installation steps to better location, inside each include dir instead of at the top-level.
Also, don't set NO_INSTALL=1 for c-index-test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/Makefile b/Makefile
index f7e9e85bce..39cf9c6f57 100644
--- a/Makefile
+++ b/Makefile
@@ -37,30 +37,3 @@ cscope.files:
-or -name '*.h' > cscope.files
.PHONY: test report clean cscope.files
-
-install-local::
- $(Echo) Installing include files
- $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
- $(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/clang/include" ; then \
- cd $(PROJ_SRC_ROOT)/tools/clang/include && \
- for hdr in `find . -type f '!' '(' -name '*~' \
- -o -name '.#*' -o -name '*.in' -o -name '*.txt' \
- -o -name 'Makefile' -o -name '*.td' ')' -print \
- | grep -v CVS | grep -v .svn | grep -v .dir` ; do \
- instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \
- if test \! -d "$$instdir" ; then \
- $(EchoCmd) Making install directory $$instdir ; \
- $(MKDIR) $$instdir ;\
- fi ; \
- $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
- done ; \
- fi
-ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
- $(Verb) if test -d "$(PROJ_OBJ_ROOT)/tools/clang/include" ; then \
- cd $(PROJ_OBJ_ROOT)/tools/clang/include && \
- for hdr in `find . -type f '!' '(' -name 'Makefile' ')' -print \
- | grep -v CVS | grep -v .tmp | grep -v .dir` ; do \
- $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
- done ; \
- fi
-endif