aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-01-30 18:45:07 +0100
committerGitHub <noreply@github.com>2023-01-30 18:45:07 +0100
commit979b7b0c4950b19cf180758d98fec170834eeb66 (patch)
tree1e0e85202bc7134197641064ef44d313a65d2421
parent21257d8580780a5e28f06562cea4f8889e6b0932 (diff)
downloadrneovim-979b7b0c4950b19cf180758d98fec170834eeb66.tar.gz
rneovim-979b7b0c4950b19cf180758d98fec170834eeb66.tar.bz2
rneovim-979b7b0c4950b19cf180758d98fec170834eeb66.zip
build: add uninstall make target (#22059)
We already have a "make install", it makes sense to also have a "make uninstall".
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1ba2431ba2..be1eef92de 100644
--- a/Makefile
+++ b/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)