mirror of
https://github.com/openXC7/prjxray.git
synced 2026-08-22 05:57:29 +02:00
Small Makefile cleanup.
Signed-off-by: Tim 'mithro' Ansell <[email protected]>
This commit is contained in:
@@ -7,9 +7,9 @@ TCL_FORMAT ?= utils//tcl-reformat.sh
|
|||||||
IN_ENV = if [ -e env/bin/activate ]; then . env/bin/activate; fi;
|
IN_ENV = if [ -e env/bin/activate ]; then . env/bin/activate; fi;
|
||||||
env:
|
env:
|
||||||
virtualenv --python=python3 --system-site-packages 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/
|
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:
|
build:
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|||||||
Reference in New Issue
Block a user