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"