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

Daniel Dunbar daniel at zuster.org
Fri Apr 30 08:18:11 PDT 2010


Author: ddunbar
Date: Fri Apr 30 10:18:11 2010
New Revision: 102715

URL: http://llvm.org/viewvc/llvm-project?rev=102715&view=rev
Log:
Eliminate dead target, and simplify.

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=102715&r1=102714&r2=102715&view=diff
==============================================================================
--- cfe/branches/Apple/cremebrulee-IB/Makefile (original)
+++ cfe/branches/Apple/cremebrulee-IB/Makefile Fri Apr 30 10:18:11 2010
@@ -197,7 +197,11 @@
 
 install: install-clang
 
-installsrc: install_source
+installsrc:
+	@echo "Installing source for $(Project)..."
+	$(_v) $(MKDIR) "$(SRCROOT)"
+	$(_v) $(PAX) -rw . "$(SRCROOT)"
+	$(_v) $(FIND) "$(SRCROOT)" $(Find_Cruft) -depth -exec $(RMDIR) "{}" \;
 
 installhdrs:
 
@@ -275,7 +279,6 @@
 .PHONY: install-clang install-clang_final build-clang build-clang_final build-clang_stage1
 .PHONY: configure-clang_final configure-clang_singlestage configure-clang_stage2
 .PHONY: configure-clang_stage1
-.PHONY: lazy_install_source install_source
 .PHONY: install-clang-rootlinks install-clang-opensourcelicense
 
 install-clang: install-clang_final $(Extra_Clang_Install_Targets)
@@ -351,15 +354,6 @@
 		  CC="$(CC) -arch $$arch" CXX="$(CXX) -arch $$arch" || exit 1 ; \
 	done
 
-lazy_install_source::
-	$(_v) if [ ! -f "$(SRCROOT)/Makefile" ]; then $(MAKE) install_source; fi
-
-install_source::
-	@echo "Installing source for $(Project)..."
-	$(_v) $(MKDIR) "$(SRCROOT)"
-	$(_v) $(PAX) -rw . "$(SRCROOT)"
-	$(_v) $(FIND) "$(SRCROOT)" $(Find_Cruft) -depth -exec $(RMDIR) "{}" \;
-
 # FIXME: Eliminate this step.
 clean::
 	if [ "$(SRCROOT)" != . ]; then \





More information about the llvm-branch-commits mailing list