[llvm-branch-commits] [cfe-branch] r115212 - /cfe/branches/Apple/whitney-IB/ClangBNI.mk

Daniel Dunbar daniel at zuster.org
Thu Sep 30 14:42:46 PDT 2010


Author: ddunbar
Date: Thu Sep 30 16:42:46 2010
New Revision: 115212

URL: http://llvm.org/viewvc/llvm-project?rev=115212&view=rev
Log:
Add No_Remove_Tests variable to prevent removal of tests from srcdir.

Modified:
    cfe/branches/Apple/whitney-IB/ClangBNI.mk

Modified: cfe/branches/Apple/whitney-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney-IB/ClangBNI.mk?rev=115212&r1=115211&r2=115212&view=diff
==============================================================================
--- cfe/branches/Apple/whitney-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/whitney-IB/ClangBNI.mk Thu Sep 30 16:42:46 2010
@@ -429,8 +429,10 @@
 	$(_v) $(MKDIR) "$(SRCROOT)"
 	$(_v) $(PAX) -rw . "$(SRCROOT)"
 	$(_v) $(FIND) "$(SRCROOT)" $(Find_Cruft) -depth -exec $(RMDIR) "{}" \;
+ifndef No_Remove_Tests	
 	$(_v) rm -rf "$(SRCROOT)"/src/test/*/
 	$(_v) rm -rf "$(SRCROOT)"/src/tools/clang/test/*/
+endif
 
 installhdrs:
 





More information about the llvm-branch-commits mailing list