One too many )'s breaks 'make clean' with certain versions of make.
authorChris Lattner <sabre@nondot.org>
Tue, 22 Jan 2008 05:19:26 +0000 (05:19 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 22 Jan 2008 05:19:26 +0000 (05:19 +0000)
This fixes PR1927

This should be pulled into llvm 2.2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46245 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 5bdd0d393fc58e95121072c67f27ab65b8b181ba..0f2be6503b870ac7e3c176add9cf7903b7aca7e7 100644 (file)
@@ -1457,7 +1457,7 @@ clean-all-local::
 ifndef DISABLE_AUTO_DEPENDENCIES
 
 # If its not one of the cleaning targets
-ifneq ($(strip $(filter-out clean clean-local dist-clean,$(MAKECMDGOALS)))),)
+ifneq ($(strip $(filter-out clean clean-local dist-clean,$(MAKECMDGOALS))),)
 
 # Get the list of dependency files
 DependFiles := $(basename $(filter %.cpp %.c %.cc, $(Sources)))