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>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to