Makefile improvements
The makefile now installs, uninstalls and updates an installed version of ocarina. The default "all" will run the program.
This commit is contained in:
parent
22a72e66bd
commit
e67c8257c9
12
Makefile
12
Makefile
|
@ -1,4 +1,16 @@
|
|||
|
||||
all:
|
||||
python2 ocarina.py
|
||||
|
||||
clean:
|
||||
rm `find . | grep .pyc`
|
||||
|
||||
install:
|
||||
cd /opt/ && git clone http://lavos.homelinux.com/~bjschuma/git/ocarina.git
|
||||
cd /usr/bin && ln -s /opt/ocarina/bin/ocarina .
|
||||
|
||||
uninstall:
|
||||
rm -rIf /opt/ocarina
|
||||
rm -f /usr/bin/ocarina
|
||||
update:
|
||||
cd /opt/ocarina && git pull
|
||||
|
|
Loading…
Reference in New Issue