diff options
author | rsiddharth <rsd@gnu.org> | 2019-06-16 12:48:12 -0400 |
---|---|---|
committer | rsiddharth <rsd@gnu.org> | 2019-06-16 12:48:12 -0400 |
commit | 20cd6b3d00a26ca2706db44353780f66f55ed5c3 (patch) | |
tree | fe3497b04522ad16c4d70b2a6271c8a8bbf2c687 | |
parent | fa68ad8a5ca8db5d24754a85f51ddb32c1652b36 (diff) |
Makefile: VENV_DIR3 -> VENV_DIR
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -10,7 +10,7 @@ GNU_MAKE=gmake VENV_DIR='.venv' VENV_CMD=virtualenv VENV_PREFIX=. -VENV_DIR3=${VENV_PREFIX}/.venv3-lpschedule-generator +VENV_DIR=${VENV_PREFIX}/.lpschedule-generator test: @nosetests @@ -40,10 +40,10 @@ upload-docs: docs venv: rm -rf *.egg-info - ${SHELL} -c 'if [[ -d $(VENV_DIR3) ]] then mv $(VENV_DIR3) $(VENV_DIR3).`date +%s`; fi' - ${VENV_CMD} --clear --python=python3 $(VENV_DIR3) + ${SHELL} -c 'if [[ -d $(VENV_DIR) ]] then mv $(VENV_DIR) $(VENV_DIR).`date +%s`; fi' + ${VENV_CMD} --clear --python=python3 $(VENV_DIR) @echo 'Initialized virtualenv, run' \ - 'source '$(VENV_DIR3)'/bin/activate' \ + 'source '$(VENV_DIR)'/bin/activate' \ 'to activate the virtual environment' .PHONY: venv @@ -59,7 +59,7 @@ clean-pyc: find . -name '*.pyc' -exec rm -f {} + clean-venv: - rm -rf ${VENV_DIR3}*/ + rm -rf ${VENV_DIR}*/ clean-docs: ${GNU_MAKE} -C docs clean |