Add the ability to install a program using make
This commit is contained in:
parent
582bf171ab
commit
e6639cda58
2 changed files with 11 additions and 4 deletions
5
Makefile
Normal file
5
Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
run:
|
||||
python3 histd.py
|
||||
|
||||
install:
|
||||
cp histd.py /usr/local/bin/histd
|
10
readme.md
10
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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue