From d10b61eaf9b2939ec34759fa46df94c1ad3c6d4f Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Wed, 10 Aug 2022 13:56:58 +0200 Subject: [PATCH] build: Add target to uninstall --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 16592a0..0e47432 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ TEST_ARGS ?= --output=TAP CCFLAGS += -Werror endif -.PHONY: clean doc doc-content doc-styles install test check rock +.PHONY: clean doc doc-content doc-styles install uninstall test check rock build: $(TARGET) @@ -95,6 +95,10 @@ install: build doc install -vd $(INSTALL_DOCDIR) cp -vr $(BUILD_DIR)/doc/* $(INSTALL_DOCDIR) +uninstall: + rm $(INSTALL_LIBDIR)/$(PROJECT).so + rm -r $(INSTALL_DOCDIR) + check: @echo "Nothing to do"