Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2010 16:53:42 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214562 - head/lib/clang
Message-ID:  <201010301653.o9UGrg64006461@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010301653.o9UGrg64006461>