We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a0d02 commit 34f5281Copy full SHA for 34f5281
1 file changed
Makefile
@@ -39,10 +39,17 @@ $(SPHINX_CONF):
39
40
.PHONY: upgrade_venv
41
upgrade_venv:
42
+ifdef VIRTUAL_ENV
43
+ $(error "Trying to create a venv while being in a venv. Please deactivate from your venv first.")
44
+endif
45
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
46
47
-$(VENV)/bin/activate: upgrade_venv
48
+$(VENV)/bin/activate:
49
50
51
52
+ $(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
53
54
55
.PHONY: progress
0 commit comments