Small Makefile cleanup.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2018-12-17 19:13:27 -08:00
parent 8d0983aedd
commit 9f6f134c66
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ TCL_FORMAT ?= utils//tcl-reformat.sh
IN_ENV = if [ -e env/bin/activate ]; then . env/bin/activate; fi;
env:
virtualenv --python=python3 --system-site-packages env
. env/bin/activate; pip install -r requirements.txt
$(IN_ENV) pip install -r requirements.txt
ln -sf $(PWD)/prjxray env/lib/python3.*/site-packages/
. env/bin/activate; python -c "import yaml" || (echo "Unable to find python-yaml" && exit 1)
$(IN_ENV) python -c "import yaml" || (echo "Unable to find python-yaml" && exit 1)
build:
git submodule update --init --recursive