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
This commit is contained in:
Chris Lattner 2004-08-20 01:07:54 +00:00
parent 980c50f3cb
commit cd8cf63b94

View File

@ -10,7 +10,7 @@ LEVEL=..
include $(LEVEL)/Makefile.config include $(LEVEL)/Makefile.config
DIRS= #DIRS=
OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile)) DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
include $(BUILD_SRC_ROOT)/Makefile.rules include $(BUILD_SRC_ROOT)/Makefile.rules