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:
Bryan Schumaker 2010-11-03 21:46:41 -04:00
parent 22a72e66bd
commit e67c8257c9
1 changed files with 12 additions and 0 deletions

View File

@ -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