[llvm-branch-commits] [cfe-branch] r102757 - /cfe/branches/Apple/cremebrulee-IB/Makefile

Daniel Dunbar daniel at zuster.org
Fri Apr 30 13:10:28 PDT 2010


Author: ddunbar
Date: Fri Apr 30 15:10:28 2010
New Revision: 102757

URL: http://llvm.org/viewvc/llvm-project?rev=102757&view=rev
Log:
Eliminate unnecessary clean-clang step, just merge into installsrc target.

Modified:
    cfe/branches/Apple/cremebrulee-IB/Makefile

Modified: cfe/branches/Apple/cremebrulee-IB/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/cremebrulee-IB/Makefile?rev=102757&r1=102756&r2=102757&view=diff
==============================================================================
--- cfe/branches/Apple/cremebrulee-IB/Makefile (original)
+++ cfe/branches/Apple/cremebrulee-IB/Makefile Fri Apr 30 15:10:28 2010
@@ -194,13 +194,15 @@
 
 # Default is to build Clang.
 install: install-clang
-clean: clean-clang
+
+clean:
 
 installsrc:
 	@echo "Installing source..."
 	$(_v) $(MKDIR) "$(SRCROOT)"
 	$(_v) $(PAX) -rw . "$(SRCROOT)"
 	$(_v) $(FIND) "$(SRCROOT)" $(Find_Cruft) -depth -exec $(RMDIR) "{}" \;
+	$(_v) rm -rf "$(SRCROOT)/src/test/Archive"
 
 installhdrs:
 
@@ -285,12 +287,6 @@
 		  CC="$(CC) -arch $$arch" CXX="$(CXX) -arch $$arch" || exit 1 ; \
 	done
 
-# FIXME: Eliminate this step.
-clean-clang:
-	if [ "$(SRCROOT)" != . ]; then \
-	  rm -rf "$(SRCROOT)/clang/test/Archive"; \
-	fi
-
 install-clang-rootlinks: install-clang_final
 	$(MKDIR) -p $(DSTROOT)/usr/bin
 	ln -sf ../../$(Install_Prefix)/bin/clang $(DSTROOT)/usr/bin/clang





More information about the llvm-branch-commits mailing list