created a makefile && removed now useless code

Makefiles make install and unistalling way easier and mostly automated
This commit is contained in:
René Fuhry
2022-12-16 23:57:47 +01:00
committed by GitHub
parent 280d3a7cb0
commit a0ef64b4a6
3 changed files with 16 additions and 12 deletions

11
makefile Normal file
View File

@ -0,0 +1,11 @@
install:
@echo "==> Installing update v0.4..."
@sudo install -Dm755 update /usr/local/bin/update
@echo $${HOME}
@cp update.conf $${HOME}/.config/
@echo "==> Finished."
uninstall:
@echo "==> Uninstalling update v0.4..."
@sudo rm /usr/local/bin/update $${HOME}/.config/update.conf
@echo "==> Finished."