]> granicus.if.org Git - clang/commitdiff
The test/ directory needs to be created always when building objdir != srcdir,
authorTorok Edwin <edwintorok@gmail.com>
Wed, 23 Sep 2009 14:23:05 +0000 (14:23 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Wed, 23 Sep 2009 14:23:05 +0000 (14:23 +0000)
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

Makefile

index 00e38d26de4692880c665e03066fa8101a3669cc..8f4fd66f2dfda90784e5befb58f69ec95087ce29 100644 (file)
--- 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; \