aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-14 22:00:09 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-14 22:00:09 +0800
commita978bd5abcd02e8e0938098ee69ff475a02eebde (patch)
treed02b6a658221938a48b2509a8bd37dd2a1997775
parent47a357992bbfdef280eadb6efd71bea60b72289e (diff)
downloadfg21sim-a978bd5abcd02e8e0938098ee69ff475a02eebde.tar.bz2
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
-rw-r--r--Makefile4
1 files 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