This is a basic implementation that works.
This commit is contained in:
6
makefile
6
makefile
@ -1,12 +1,12 @@
|
||||
VER = "v1.4"
|
||||
VER = "v1.5"
|
||||
|
||||
install:
|
||||
@echo "==> Installing update $(VER)..."
|
||||
@echo "==> Installing update $(VER) into /usr/local/bin"
|
||||
@sudo install -Dm755 update /usr/local/bin/update
|
||||
@cp update.conf ${HOME}/.config/
|
||||
@echo "==> Finished."
|
||||
|
||||
uninstall:
|
||||
@echo "==> Uninstalling update $(VER)..."
|
||||
@echo "==> Uninstalling update $(VER) from /usr/local/bin"
|
||||
@sudo rm /usr/local/bin/update ${HOME}/.config/update.conf
|
||||
@echo "==> Finished."
|
||||
|
Reference in New Issue
Block a user