build: add 'uninstall' target to make

This commit is contained in:
Dirk-Jan C. Binnema 2023-04-11 20:49:31 +03:00
parent a1aed61002
commit 79035e7487
1 changed files with 4 additions and 3 deletions

View File

@ -37,7 +37,7 @@ endif
.PHONY: all
.PHONY: check test test-verbose-if-fail test-valgrind test-helgrind
.PHONY: benchmark coverage
.PHONY: dist install clean distclean
.PHONY: dist install uninstall clean distclean
.PHONY: mu4e-doc-html
# MESON_FLAGS, e.g. "-Dreadline=enabled"
@ -57,14 +57,15 @@ check: test
test: all
@$(MESON) test $(VERBOSE) -C $(BUILDDIR)
install: $(BUILDDIR)
@cd $(BUILDDIR); $(MESON) install
uninstall: $(BUILDDIR)
@$(NINJA) -C $(BUILDDIR) uninstall
clean:
@rm -rf $(BUILDDIR) $(COVERAGE_BUILDDIR)
#
# below targets are just for development/testing/debugging. They may or
# may not work on your system.