[cfe-commits] r83855 - /cfe/trunk/Makefile

Axel Naumann Axel.Naumann at cern.ch
Mon Oct 12 09:42:18 PDT 2009


Author: axel
Date: Mon Oct 12 11:42:18 2009
New Revision: 83855

URL: http://llvm.org/viewvc/llvm-project?rev=83855&view=rev
Log:
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.

Modified:
    cfe/trunk/Makefile

Modified: cfe/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Makefile?rev=83855&r1=83854&r2=83855&view=diff

==============================================================================
--- cfe/trunk/Makefile (original)
+++ cfe/trunk/Makefile Mon Oct 12 11:42:18 2009
@@ -37,8 +37,9 @@
 	$(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 @@
 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





More information about the cfe-commits mailing list