aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-09-23 14:23:05 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-09-23 14:23:05 +0000
commit38a809571bf5fc3aee9bdd8aae866a8194dae146 (patch)
treef0d0daa39051027bd658c1579c1f1b55b27c9ca3 /Makefile
parenta441283c601588ebeb8aeb0ac630186a7fd31b72 (diff)
The test/ directory needs to be created always when building objdir != srcdir,
because the toplevel 'make check-all' needs the rule for test/lit.site.cfg, and for that test/ must exist. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 00e38d26de..8f4fd66f2d 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ DIRS := include lib tools docs
include $(LEVEL)/Makefile.common
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
-test::
+all::
$(Verb) if [ ! -f test/Makefile ]; then \
$(MKDIR) test; \
$(CP) $(PROJ_SRC_DIR)/test/Makefile test/Makefile; \