File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ JOBS = 4
24
24
25
25
26
26
.PHONY : all
27
- all : $(SPHINX_CONF )
27
+ all : $(SPHINX_CONF ) $( VENV ) /bin/activate
28
28
mkdir -p $(CPYTHON_CLONE ) /locales/$(LANGUAGE ) /
29
29
ln -nfs $(shell readlink -f .) $(CPYTHON_CLONE ) /locales/$(LANGUAGE ) /LC_MESSAGES
30
- $(MAKE ) -C $(CPYTHON_CLONE ) /Doc/ VENVDIR=$(VENV ) PYTHON=$(PYTHON ) venv
31
30
$(MAKE ) -C $(CPYTHON_CLONE ) /Doc/ VENVDIR=$(VENV ) PYTHON=$(PYTHON ) SPHINXOPTS=' -qaEW -j$(JOBS) -D locale_dirs=../locales -D language=$(LANGUAGE) -D gettext_compact=0 -D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=' $(MODE )
32
31
33
32
@@ -36,12 +35,11 @@ $(SPHINX_CONF):
36
35
37
36
38
37
.PHONY : upgrade_venv
39
- upgrade_venv : $( VENV ) /bin/activate
40
- . $( VENV ) /bin/activate ; python3 -m pip install --upgrade sphinx blurb
38
+ upgrade_venv :
39
+ $( MAKE ) -C $( CPYTHON_CLONE ) /Doc/ VENVDIR= $( VENV ) PYTHON= $( PYTHON ) venv
41
40
42
41
43
- $(VENV ) /bin/activate :
44
- python3 -m venv $(VENV )
42
+ $(VENV ) /bin/activate : upgrade_venv
45
43
46
44
47
45
.PHONY : progress
You can’t perform that action at this time.
0 commit comments