build: deps: add uninstall make target
Run `sudo make uninstall` to remove binaries added during installation. The command does NOT delete the potentially critical `.lotus` and `.lotusminer` folders.
This commit is contained in:
parent
5d7f3c252d
commit
3cdd92c4c0
12
Makefile
12
Makefile
@ -133,6 +133,18 @@ install-worker:
|
|||||||
install-app:
|
install-app:
|
||||||
install -C ./$(APP) /usr/local/bin/$(APP)
|
install -C ./$(APP) /usr/local/bin/$(APP)
|
||||||
|
|
||||||
|
uninstall: uninstall-daemon uninstall-miner uninstall-worker
|
||||||
|
.PHONY: uninstall
|
||||||
|
|
||||||
|
uninstall-daemon:
|
||||||
|
rm -f /usr/local/bin/lotus
|
||||||
|
|
||||||
|
uninstall-miner:
|
||||||
|
rm -f /usr/local/bin/lotus-miner
|
||||||
|
|
||||||
|
uninstall-worker:
|
||||||
|
rm -f /usr/local/bin/lotus-worker
|
||||||
|
|
||||||
# TOOLS
|
# TOOLS
|
||||||
|
|
||||||
lotus-seed: $(BUILD_DEPS)
|
lotus-seed: $(BUILD_DEPS)
|
||||||
|
Loading…
Reference in New Issue
Block a user