aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-03 22:25:40 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-03 22:25:40 +0000
commit1d009bbbbd9f026005c69ad5ce72ec9f5f6f2243 (patch)
tree8f581a114f27ecd993ecd7e69d275ad8f50fb052
parent2d3dcb6a55c1c4a83b8e13e7cfd2e55f8cfe4740 (diff)
downloadexternal_llvm-1d009bbbbd9f026005c69ad5ce72ec9f5f6f2243.zip
external_llvm-1d009bbbbd9f026005c69ad5ce72ec9f5f6f2243.tar.gz
external_llvm-1d009bbbbd9f026005c69ad5ce72ec9f5f6f2243.tar.bz2
Correct the specification of the DIRS variable to not include the source
directory prefix, just the name of the subdirectory. This prevents the makefile from trying to find makefiles (like Makefile.common) in the wrong place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16157 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--projects/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/Makefile b/projects/Makefile
index e382e86..83e78e9 100644
--- a/projects/Makefile
+++ b/projects/Makefile
@@ -10,6 +10,6 @@ LEVEL=..
include $(LEVEL)/Makefile.config
-DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
+DIRS:= $(patsubst $(SourceDir)%/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
include $(BUILD_SRC_ROOT)/Makefile.rules