Skip to content

Commit

Permalink
Updating makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
outofjungle committed Jan 8, 2013
1 parent 4e83bf6 commit 90ed24b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
@@ -1,3 +1,4 @@
APP_NAME = mood-light
PYSERIAL_URL = http://pypi.python.org/packages/source/p/pyserial/pyserial-2.6.tar.gz
PYSERIAL_DIR = $(subst .tar.gz,,$(notdir $(PYSERIAL_URL)))

Expand All @@ -7,3 +8,7 @@ install-pyserial:
curl $(PYSERIAL_URL) | tar -xz;\
cd $(PYSERIAL_DIR); sudo python setup.py install;\

create-log-file:
sudo mkdir /var/log/$(APP_NAME);\
sudo chown pi:users /var/log/$(APP_NAME);\

0 comments on commit 90ed24b

Please sign in to comment.