aboutsummaryrefslogtreecommitdiffstats
path: root/projects/Makefile
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
commitcd8cf63b9480476532813c8cab955ae516f9f5fe (patch)
treeab4c4b7a6652d7082ad4966a675edb04d201daa0 /projects/Makefile
parent980c50f3cb81075ebc486c71dda5bb429a42932e (diff)
downloadexternal_llvm-cd8cf63b9480476532813c8cab955ae516f9f5fe.zip
external_llvm-cd8cf63b9480476532813c8cab955ae516f9f5fe.tar.gz
external_llvm-cd8cf63b9480476532813c8cab955ae516f9f5fe.tar.bz2
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
Diffstat (limited to 'projects/Makefile')
-rw-r--r--projects/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/Makefile b/projects/Makefile
index 5465268..da7f710 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