build: remove uninstall target

The `make uninstall` target can't be expected to find all files it
installs in many cases. It is therefore better to remove it rather than give
the impression to users that it is a robust.
This commit is contained in:
dundargoc 2023-04-08 23:07:09 +02:00 committed by GitHub
parent b6d5047d40
commit 339011f59c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,14 +134,6 @@ TEST=functionaltest unittest
generated-sources benchmark $(FORMAT) $(LINT) $(TEST): | build/.ran-cmake generated-sources benchmark $(FORMAT) $(LINT) $(TEST): | build/.ran-cmake
$(CMAKE_PRG) --build build --target $@ $(CMAKE_PRG) --build build --target $@
uninstall:
ifneq (,$(wildcard build/install_manifest.txt))
$(CMAKE_PRG) --build build --target $@
else
@echo Install manifest file not found. You need to build and install \
neovim to generate the manifest file.
endif
test: $(TEST) test: $(TEST)
iwyu: build/.ran-cmake iwyu: build/.ran-cmake