aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEisuke Kawashima <e-kwsm@users.noreply.github.com>2019-07-03 07:25:49 +0900
committerJustin M. Keyes <justinkz@gmail.com>2019-07-03 00:25:49 +0200
commit61790c7b3c552213295ffa5288a49601b3ba5a34 (patch)
tree38a13faf588ad73e881e86011b2a34513011163f
parent5b94a2977a22852f74469337356348fe0fd640c5 (diff)
downloadrneovim-61790c7b3c552213295ffa5288a49601b3ba5a34.tar.gz
rneovim-61790c7b3c552213295ffa5288a49601b3ba5a34.tar.bz2
rneovim-61790c7b3c552213295ffa5288a49601b3ba5a34.zip
build: Fix rule of `build/.ran-third-party-cmake` #10402
In order that `$(DEPS_BUILD_DIR)/Makefile` exists under parallel make
-rw-r--r--Makefile7
1 files 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