Merge branch 'master' of subnixr/scatolo_run into master

This commit is contained in:
giodim 2017-07-17 12:22:09 +02:00 committed by Gogs
commit 92902a9e6c
2 changed files with 17 additions and 4 deletions

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
PREFIX=/usr/local
.PHONY: install
install:
install -Dm755 scatolo.py $(PREFIX)/bin/scatolo.py
install -Dm755 pico.sh $(PREFIX)/bin/pico.sh

View File

@ -2,13 +2,19 @@
## Installazione
chmod +x scatolo.py
```
make install
```
chmod +x pico.sh
È possibile modificare il path di installazione (`/usr/local/` by default):
mv ./scatolo.py /usr/local/bin
```
make install PREFIX=~/.local
```
mv ./pico.sh /usr/local/bin
## Esecuzione all'avvio (bash)
```
echo "/usr/local/bin/scatolo.py" >> ./bashrc
```