Add makefile for installation.
This commit is contained in:
parent
ec8fd5171f
commit
ec8bb73d1c
2 changed files with 12 additions and 2 deletions
9
Makefile
Normal file
9
Makefile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
INSTALL_BASE ?= /usr/local
|
||||||
|
|
||||||
|
install: i3toolwait install-modules
|
||||||
|
install -Dm0755 -oroot -groot $< ${INSTALL_BASE}/bin/$<
|
||||||
|
|
||||||
|
install-modules: requirements.txt
|
||||||
|
python3 -mpip install --upgrade --requirement $<
|
||||||
|
|
||||||
|
.PHONY: install install-modules
|
|
@ -4,8 +4,9 @@ Launch a program and move it to the correct workspace.
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
Install all dependencies `python3 -mpip install --upgrade -r requirements.txt`
|
Use the makefile: `INSTALL_BASE=/usr/local/ make install` or install all dependencies
|
||||||
and copy the script to your path: `cp i3toolwait /usr/local/bin/i3toolwait`.
|
`python3 -mpip install --upgrade -r requirements.txt` and copy the script to your
|
||||||
|
path: `cp i3toolwait /usr/local/bin/i3toolwait`.
|
||||||
|
|
||||||
## Filtering
|
## Filtering
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue