From: Torok Edwin Date: Wed, 23 Sep 2009 14:23:05 +0000 (+0000) Subject: The test/ directory needs to be created always when building objdir != srcdir, X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38a809571bf5fc3aee9bdd8aae866a8194dae146;p=clang 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 --- 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; \