aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-03-15 20:01:06 +0000
committerBill Wendling <isanbard@gmail.com>2011-03-15 20:01:06 +0000
commit98a4c87e737af741016ce4f86c16d439c3c5ffbb (patch)
tree4154e286196e87fab8c9f4c4b6d729756d6427f9
parent2b8846f7f75d45ee19b8ef1b691887b739946e15 (diff)
downloadllvm-98a4c87e737af741016ce4f86c16d439c3c5ffbb.zip
llvm-98a4c87e737af741016ce4f86c16d439c3c5ffbb.tar.gz
llvm-98a4c87e737af741016ce4f86c16d439c3c5ffbb.tar.bz2
For PR2928:
--- Merging r127326 into '.': U include/clang/Makefile llvm-svn: 127690
-rw-r--r--clang/include/clang/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/clang/include/clang/Makefile b/clang/include/clang/Makefile
index d6b9844..a7be031 100644
--- a/clang/include/clang/Makefile
+++ b/clang/include/clang/Makefile
@@ -8,9 +8,12 @@ install-local::
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
$(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/clang/include/clang" ; then \
cd $(PROJ_SRC_ROOT)/tools/clang/include && \
- for hdr in `find clang -type f '!' '(' -name '*~' \
- -o -name '.#*' -o -name '*.in' -o -name '*.txt' \
- -o -name 'Makefile' -o -name '*.td' -o -name '*.orig' ')' -print \
+ for hdr in `find clang -type f \
+ '(' -name LICENSE.TXT \
+ -o -name '*.def' \
+ -o -name '*.h' \
+ -o -name '*.inc' \
+ ')' -print \
| grep -v CVS | grep -v .svn | grep -v .dir` ; do \
instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \
if test \! -d "$$instdir" ; then \
@@ -23,7 +26,12 @@ install-local::
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/tools/clang/include/clang" ; then \
cd $(PROJ_OBJ_ROOT)/tools/clang/include && \
- for hdr in `find clang -type f '!' '(' -name 'Makefile' ')' -print \
+ for hdr in `find clang -type f \
+ '(' -name LICENSE.TXT \
+ -o -name '*.def' \
+ -o -name '*.h' \
+ -o -name '*.inc' \
+ ')' -print \
| grep -v CVS | grep -v .tmp | grep -v .dir` ; do \
$(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
done ; \