Add the ability to install a program using make

This commit is contained in:
Ivan R. 2022-08-24 22:21:13 +05:00
parent 582bf171ab
commit e6639cda58
No known key found for this signature in database
GPG key ID: 67AA0CE744B974B8
2 changed files with 11 additions and 4 deletions

5
Makefile Normal file
View file

@ -0,0 +1,5 @@
run:
python3 histd.py
install:
cp histd.py /usr/local/bin/histd

View file

@ -17,9 +17,11 @@ tree ~/.local/histd
## Usage ## Usage
```sh ```sh
./histd.py
```
or
```sh
python3 histd.py python3 histd.py
``` ```
## Installation
To copy the script to `/usr/local/bin`, run this command as root:
```sh
make install
```