Commit c6f95e7b authored by Nelso Jost's avatar Nelso Jost

FIX: better Makefile usage

parent 84dd9461
...@@ -58,12 +58,6 @@ help-full: ...@@ -58,12 +58,6 @@ help-full:
@ echo " clean-all -- Performs all the above cleans" @ echo " clean-all -- Performs all the above cleans"
@ echo "" @ echo ""
install: venv deploy
uninstall: undeploy clean-venv clean-ino
firmware: bu
apt-install: apt-install:
chmod +x scripts/apt-install.sh chmod +x scripts/apt-install.sh
./scripts/apt-install.sh ./scripts/apt-install.sh
...@@ -76,9 +70,9 @@ ino-install: ...@@ -76,9 +70,9 @@ ino-install:
chmod +x scripts/ino-install.sh chmod +x scripts/ino-install.sh
./scripts/ino-install.sh ./scripts/ino-install.sh
setup: venv setup: clean-venv create-venv
venv: create-venv:
@ echo "-------------------------------------------------------" @ echo "-------------------------------------------------------"
virtualenv -v --python='python${PYVER}' ${VENV} virtualenv -v --python='python${PYVER}' ${VENV}
@ echo "Virtualenv with 'python${PYVER}' interpreter was created at ${VENV}" @ echo "Virtualenv with 'python${PYVER}' interpreter was created at ${VENV}"
...@@ -95,15 +89,13 @@ venv: ...@@ -95,15 +89,13 @@ venv:
clean-venv: clean-venv:
rm -rf ${VENV} rm -rf ${VENV}
serial: serial:
${VENV}/bin/ipython -i logger/init_serial.py ${VENV}/bin/python -i logger/init_serial.py
bu: ${USE}-install firmware: ${USE}-install
chmod +x scripts/ino-build.sh chmod +x scripts/ino-build.sh
./scripts/ino-build.sh ${USE} ${INO_DIR} ${ARDUINO} ./scripts/ino-build.sh ${USE} ${INO_DIR} ${ARDUINO}
bus: bu serial
sync-rtc: sync-rtc:
${VENV}/bin/python${PYVER} logger/run.py --syncrtc ${VENV}/bin/python${PYVER} logger/run.py --syncrtc
......
docopt==0.6.2 docopt==0.6.2
ipython==3.1.0
MarkupSafe==0.23 MarkupSafe==0.23
pykwalify==1.2.0 pykwalify==1.2.0
pyreadline==2.0 pyreadline==2.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment