1
Fork 0

build: Add target to uninstall

This commit is contained in:
Lucas Schwiderski 2022-08-10 13:56:58 +02:00
parent 8fa6f47cfe
commit d10b61eaf9
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8

View file

@ -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"