e84cbdf42e
I detect what version of python to use and write ocarina.py based on that.
20 lines
316 B
Makefile
20 lines
316 B
Makefile
|
|
all: ocarina.py
|
|
./ocarina.py
|
|
|
|
ocarina.py:
|
|
sh scripts/makebin.sh
|
|
|
|
clean:
|
|
rm `find . | grep .pyc`
|
|
|
|
install:
|
|
cd /opt/ && git clone git://lavos.homelinux.com/ocarina.git
|
|
cd /usr/bin && ln -sf /opt/ocarina/bin/ocarina .
|
|
|
|
uninstall:
|
|
rm -rIf /opt/ocarina
|
|
rm -f /usr/bin/ocarina
|
|
update:
|
|
cd /opt/ocarina && git pull
|