From 9f6f134c66872af02ef01ee5a6803a9caf3733db Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Mon, 17 Dec 2018 19:13:27 -0800 Subject: [PATCH] Small Makefile cleanup. Signed-off-by: Tim 'mithro' Ansell --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 81038d84..bf5dad04 100644 --- a/Makefile +++ b/Makefile @@ -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