mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
build: add uninstall make target (#22059)
We already have a "make install", it makes sense to also have a "make uninstall".
This commit is contained in:
parent
21257d8580
commit
979b7b0c49
4
Makefile
4
Makefile
@ -132,7 +132,7 @@ functionaltest-lua: | nvim
|
||||
FORMAT=formatc formatlua format
|
||||
LINT=lintlua lintsh lintc check-single-includes lintcommit lint
|
||||
TEST=functionaltest unittest
|
||||
generated-sources benchmark $(FORMAT) $(LINT) $(TEST): | build/.ran-cmake
|
||||
generated-sources benchmark uninstall $(FORMAT) $(LINT) $(TEST): | build/.ran-cmake
|
||||
$(CMAKE_PRG) --build build --target $@
|
||||
|
||||
test: $(TEST)
|
||||
@ -173,4 +173,4 @@ $(DEPS_BUILD_DIR)/%: phony_force
|
||||
$(BUILD_TOOL) -C $(DEPS_BUILD_DIR) $(patsubst $(DEPS_BUILD_DIR)/%,%,$@)
|
||||
endif
|
||||
|
||||
.PHONY: test clean distclean nvim libnvim cmake deps install appimage checkprefix benchmark $(FORMAT) $(LINT) $(TEST)
|
||||
.PHONY: test clean distclean nvim libnvim cmake deps install appimage checkprefix benchmark uninstall $(FORMAT) $(LINT) $(TEST)
|
||||
|
Loading…
Reference in New Issue
Block a user