From: Chris Lattner Date: Fri, 20 Aug 2004 01:07:54 +0000 (+0000) Subject: Only build project dirs with a Makefile in them. This should fix the X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cd8cf63b9480476532813c8cab955ae516f9f5fe;p=oota-llvm.git Only build project dirs with a Makefile in them. This should fix the problem where Depend or Debug directories prevent CVS from nuking an obsolete project dir git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15935 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/projects/Makefile b/projects/Makefile index 5465268ecf1..da7f710e5c3 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -10,7 +10,7 @@ LEVEL=.. include $(LEVEL)/Makefile.config -DIRS= -OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile)) +#DIRS= +DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile)) include $(BUILD_SRC_ROOT)/Makefile.rules