diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e8bea5e --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +run: + python3 histd.py + +install: + cp histd.py /usr/local/bin/histd diff --git a/readme.md b/readme.md index 0da425f..318c387 100644 --- a/readme.md +++ b/readme.md @@ -17,9 +17,11 @@ tree ~/.local/histd ## Usage ```sh -./histd.py -``` -or -```sh python3 histd.py ``` + +## Installation +To copy the script to `/usr/local/bin`, run this command as root: +```sh +make install +```