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
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