From 61790c7b3c552213295ffa5288a49601b3ba5a34 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Wed, 3 Jul 2019 07:25:49 +0900 Subject: [PATCH] build: Fix rule of `build/.ran-third-party-cmake` #10402 In order that `$(DEPS_BUILD_DIR)/Makefile` exists under parallel make --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index dde78e5274..e1746d4311 100644 --- a/Makefile +++ b/Makefile @@ -101,10 +101,6 @@ ifeq ($(call filter-true,$(USE_BUNDLED)),) +$(BUILD_CMD) -C $(DEPS_BUILD_DIR) endif -build/.ran-third-party-cmake:: - mkdir -p build - touch $@ - ifeq ($(call filter-true,$(USE_BUNDLED)),) $(DEPS_BUILD_DIR): mkdir -p "$@" @@ -113,6 +109,9 @@ build/.ran-third-party-cmake:: $(DEPS_BUILD_DIR) $(CMAKE_PRG) -G '$(BUILD_TYPE)' $(BUNDLED_CMAKE_FLAG) $(BUNDLED_LUA_CMAKE_FLAG) \ $(DEPS_CMAKE_FLAGS) $(THIS_DIR)/third-party endif +build/.ran-third-party-cmake:: + mkdir -p build + touch $@ # TODO: cmake 3.2+ add_custom_target() has a USES_TERMINAL flag. oldtest: | nvim helptags