diff options
| author | Axel Naumann <Axel.Naumann@cern.ch> | 2009-10-12 16:42:18 +0000 |
|---|---|---|
| committer | Axel Naumann <Axel.Naumann@cern.ch> | 2009-10-12 16:42:18 +0000 |
| commit | a7e200e6f759ca0970074d3576d4e148eb453a34 (patch) | |
| tree | 5fdaccadda2adc3dec6af4ff5201d5e5d0412116 | |
| parent | af28f0be41b292da68ab46862cd726aace2af698 (diff) | |
| download | bcm5719-llvm-a7e200e6f759ca0970074d3576d4e148eb453a34.tar.gz bcm5719-llvm-a7e200e6f759ca0970074d3576d4e148eb453a34.zip | |
Don't install Makefiles nor tablegen input in include/.
Fix exclusion of .tmp, which in turn enables installation of $(PROJ_OBJ_ROOT)/tools/clang/include/*.inc.
llvm-svn: 83855
| -rw-r--r-- | clang/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/clang/Makefile b/clang/Makefile index 16db680338d..22fe214705c 100644 --- a/clang/Makefile +++ b/clang/Makefile @@ -37,8 +37,9 @@ install-local:: $(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' ')' -print | grep -v CVS | \ - grep -v .svn` ; do \ + -o -name '.#*' -o -name '*.in' -o -name '*.txt' \ + -o -name 'Makefile' -o -name '*.td' ')' -print \ + | grep -v CVS | grep -v .svn` ; do \ instdir=`dirname "$(PROJ_includedir)/$$hdr"` ; \ if test \! -d "$$instdir" ; then \ $(EchoCmd) Making install directory $$instdir ; \ @@ -50,7 +51,8 @@ install-local:: 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 -print | grep -v CVS .tmp` ; do \ + for hdr in `find . -type f '!' '(' -name 'Makefile' ')' -print \ + | grep -v CVS | grep -v .tmp` ; do \ $(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \ done ; \ fi |

