svn commit: r214562 - head/lib/clang

Rui Paulo rpaulo at FreeBSD.org
Sat Oct 30 16:53:43 UTC 2010


Author: rpaulo
Date: Sat Oct 30 16:53:42 2010
New Revision: 214562
URL: http://svn.freebsd.org/changeset/base/214562

Log:
  When the make target is 'install', don't descend into the clang
  libraries subdirectories since there's nothing to do there. This saves
  us quite a few seconds off installworld, esp. if the disk I/O is slow.

Modified:
  head/lib/clang/Makefile

Modified: head/lib/clang/Makefile
==============================================================================
--- head/lib/clang/Makefile	Sat Oct 30 16:51:25 2010	(r214561)
+++ head/lib/clang/Makefile	Sat Oct 30 16:53:42 2010	(r214562)
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+.if !make(install)
 SUBDIR=	libclanganalysis \
 	libclangast \
 	libclangbasic \
@@ -48,8 +49,9 @@ SUBDIR=	libclanganalysis \
 	libllvmx86asmprinter \
 	libllvmx86codegen \
 	libllvmx86disassembler \
-	libllvmx86info \
-	\
-	include
+	libllvmx86info
+.endif
+
+SUBDIR+= include
 
 .include <bsd.subdir.mk>


More information about the svn-src-head mailing list