mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 07:11:20 +00:00
build: Makefile: fix distclean [ci skip] (#10336)
Do not run CMake in build before deleting it unnecessarily:
% make distclean
test -d build && ninja -C build clean || true
ninja: Entering directory `build'
[0/1] Re-running CMake...
This commit is contained in:
3
Makefile
3
Makefile
@@ -142,8 +142,9 @@ clean:
|
|||||||
$(MAKE) -C src/nvim/testdir clean
|
$(MAKE) -C src/nvim/testdir clean
|
||||||
$(MAKE) -C runtime/doc clean
|
$(MAKE) -C runtime/doc clean
|
||||||
|
|
||||||
distclean: clean
|
distclean:
|
||||||
rm -rf $(DEPS_BUILD_DIR) build
|
rm -rf $(DEPS_BUILD_DIR) build
|
||||||
|
$(MAKE) clean
|
||||||
|
|
||||||
install: | nvim
|
install: | nvim
|
||||||
+$(BUILD_CMD) -C build install
|
+$(BUILD_CMD) -C build install
|
||||||
|
|||||||
Reference in New Issue
Block a user