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 | 1555c3a3b36043e14f2d4d839cfd5b8f2df0f9e5 (patch) | |
tree | b17c547d5d7262db722253f7ed1c962b7382d6ac /Makefile | |
parent | ff267205cd6b0114a5e48bd2ae2a65555db5158a (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |