mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 11:55:49 +00:00
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…
x
Reference in New Issue
Block a user