File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ JOBS = 4
2424
2525
2626.PHONY : all
27- all : $(SPHINX_CONF )
27+ all : $(SPHINX_CONF ) $( VENV ) /bin/activate
2828 mkdir -p $(CPYTHON_CLONE ) /locales/$(LANGUAGE ) /
2929 ln -nfs $(shell readlink -f .) $(CPYTHON_CLONE ) /locales/$(LANGUAGE ) /LC_MESSAGES
30- $(MAKE ) -C $(CPYTHON_CLONE ) /Doc/ VENVDIR=$(VENV ) PYTHON=$(PYTHON ) venv
3130 $(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 )
3231
3332
@@ -36,12 +35,11 @@ $(SPHINX_CONF):
3635
3736
3837.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
4140
4241
43- $(VENV ) /bin/activate :
44- python3 -m venv $(VENV )
42+ $(VENV ) /bin/activate : upgrade_venv
4543
4644
4745.PHONY : progress
You can’t perform that action at this time.
0 commit comments