summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-20 01:07:54 +0000
committerChris Lattner <sabre@nondot.org>2004-08-20 01:07:54 +0000
commit40d0204067533640e43ecce91c66b83f836c9504 (patch)
treea58f53e77d538668dee18b2e5b8ef1e0fe9c5ccd
parent615ffb84faeea4fe30c033d95f490ffaaf6f822b (diff)
downloadbcm5719-llvm-40d0204067533640e43ecce91c66b83f836c9504.tar.gz
bcm5719-llvm-40d0204067533640e43ecce91c66b83f836c9504.zip
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 llvm-svn: 15935
-rw-r--r--llvm/projects/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/projects/Makefile b/llvm/projects/Makefile
index 5465268ecf1..da7f710e5c3 100644
--- a/llvm/projects/Makefile
+++ b/llvm/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
OpenPOWER on IntegriCloud