If you download clang and delete the test directory, you can end up
with the copy line failing with an error, yet the make will complete successfully. From Greg Clayton! llvm-svn: 140639
This commit is contained in:
parent
469683e98d
commit
cb56faf091
|
@ -68,7 +68,7 @@ ifeq ($(IS_TOP_LEVEL),1)
|
|||
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
|
||||
$(RecursiveTargets)::
|
||||
$(Verb) for dir in test unittests; do \
|
||||
if [ ! -f $${dir}/Makefile ]; then \
|
||||
if [ -f $(PROJ_SRC_DIR)/$${dir}/Makefile ] && [ ! -f $${dir}/Makefile ]; then \
|
||||
$(MKDIR) $${dir}; \
|
||||
$(CP) $(PROJ_SRC_DIR)/$${dir}/Makefile $${dir}/Makefile; \
|
||||
fi \
|
||||
|
|
Loading…
Reference in New Issue