From cd8cf63b9480476532813c8cab955ae516f9f5fe Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 20 Aug 2004 01:07:54 +0000 Subject: 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 --- projects/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'projects/Makefile') diff --git a/projects/Makefile b/projects/Makefile index 5465268ecf..da7f710e5c 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 -- cgit v1.2.3-18-g5258