diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1ed1285 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +PREFIX := /usr/local + +.PHONY: install +install: + install -m 755 -D ./agenda $(PREFIX)/bin/agenda + +.PHONY: uninstall +uninstall: + rm $(PREFIX)/bin/agenda diff --git a/README.md b/README.md index 5d8b6e4..a0df8af 100644 --- a/README.md +++ b/README.md @@ -1 +1,9 @@ # Agenda + +## Install + +Use the make `install` and `uninstall` targets to install or remove the script. + +```bash +sudo make install +```