build: Add target to uninstall
This commit is contained in:
parent
8fa6f47cfe
commit
d10b61eaf9
1 changed files with 5 additions and 1 deletions
6
Makefile
6
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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue