From a978bd5abcd02e8e0938098ee69ff475a02eebde Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 14 Oct 2016 22:00:09 +0800 Subject: Makefile: Fix quotation Do not quote Make variables, since Make does NOT understand or parse single- or double-quote characters in any way. Credit: http://stackoverflow.com/a/23332194 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index deee1fd..02c7b49 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ # # The name (also the directory) of the virtualenv -VENV ?= "venv" +VENV ?= venv default: @@ -27,7 +27,7 @@ default: # Create virtualenv and install/update the dependencies venv: ${VENV}/bin/activate ${VENV}/bin/activate: requirements.txt - test -d "${VENV}" || virtualenv --python=python3 ${VENV} + test -d ./${VENV} || virtualenv --python=python3 ${VENV} ./${VENV}/bin/pip3 install --upgrade -r requirements.txt touch ${VENV}/bin/activate -- cgit v1.2.2