[llvm-commits] Ignore .svn directories when installing include files

Scott Michel scottm at rushg.aero.org
Mon Apr 9 11:57:10 PDT 2007


Speeds up installation a bit... s/b ignoring them anyway, just like
CVS directories.


-scooter
-------------- next part --------------
Index: Makefile.rules
===================================================================
--- Makefile.rules	(.../trunk)	(revision 2452)
+++ Makefile.rules	(.../branches/llvm-spu)	(revision 2452)
@@ -1691,7 +1691,7 @@
 	$(Verb) if test -d "$(PROJ_SRC_ROOT)/include" ; then \
 	  cd $(PROJ_SRC_ROOT)/include && \
 	  for  hdr in `find . -type f '!' '(' -name '*~' -o -name '.cvsignore' \
-	      -o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS ` ; do \
+	      -o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS | grep -v .svn` ; do \
 	    instdir=`dirname "$(PROJ_includedir)/$$hdr"` ; \
 	    if test \! -d "$$instdir" ; then \
 	      $(EchoCmd) Making install directory $$instdir ; \


More information about the llvm-commits mailing list