@@ -57,15 +57,15 @@ build: setup po-install
5757 @echo " Building Python $( BRANCH) Documentation in $( LANGUAGE) ..."
5858 @mkdir -p " $( LOGS_DIR) /build"
5959 @$(MAKE ) -C $(CPYTHON_DIR ) /Doc/ \
60- PYTHON=$(PYTHON ) \
61- SPHINXERRORHANDLING=$(SPHINXERRORHANDLING ) \
62- SPHINXOPTS=" --keep-going \
63- -D language=$(LANGUAGE ) \
64- -D latex_engine=xelatex \
65- -D latex_elements.inputenc= \
66- -D latex_elements.fontenc=" \
67- html \
68- 2> >( tee -a $( LOGS_DIR) /build/err-$( NOW) .txt >&2 )
60+ PYTHON=$(PYTHON ) \
61+ SPHINXERRORHANDLING=$(SPHINXERRORHANDLING ) \
62+ SPHINXOPTS=" --keep-going \
63+ -D language=$(LANGUAGE ) \
64+ -D latex_engine=xelatex \
65+ -D latex_elements.inputenc= \
66+ -D latex_elements.fontenc=" \
67+ html \
68+ 2> >( tee -a $( LOGS_DIR) /build/err-$( NOW) .txt >&2 )
6969
7070
7171# push: Push changed translation files and Transifex config file to repository.
@@ -154,18 +154,18 @@ pot: setup
154154setup : CPYTHON_URL := https://github.com/python/cpython
155155setup : venv
156156 @if [ -z " $( BRANCH) " ]; then \
157- echo " BRANCH is empty, should have git-branch. Unable to continue." ; \
158- exit 1; \
157+ echo " BRANCH is empty, should have git-branch. Unable to continue." ; \
158+ exit 1; \
159159 fi
160160
161161 @if ! [ -d " $( CPYTHON_DIR) " ]; then \
162- echo " CPython repo not found; cloning ..." ; \
163- git clone --depth 1 --no-single-branch $(CPYTHON_URL ) $(CPYTHON_DIR ) ; \
164- git -C " $( CPYTHON_DIR) " checkout $(BRANCH ) ; \
162+ echo " CPython repo not found; cloning ..." ; \
163+ git clone --depth 1 --no-single-branch $(CPYTHON_URL ) $(CPYTHON_DIR ) ; \
164+ git -C " $( CPYTHON_DIR) " checkout $(BRANCH ) ; \
165165 else \
166- echo " CPython repo found; updating ..." ; \
167- git -C " $( CPYTHON_DIR) " checkout $(BRANCH ) ; \
168- git -C " $( CPYTHON_DIR) " pull --rebase; \
166+ echo " CPython repo found; updating ..." ; \
167+ git -C " $( CPYTHON_DIR) " checkout $(BRANCH ) ; \
168+ git -C " $( CPYTHON_DIR) " pull --rebase; \
169169 fi
170170
171171 @echo " Creating CPython's documentation virtual environment ..."
@@ -192,7 +192,7 @@ venv:
192192 " $( VENV_DIR) /bin/python" -m pip install --upgrade pip; \
193193 mkdir -p " $( LOGS_DIR) " ; \
194194 " $( VENV_DIR) /bin/pip" install --requirement requirements.txt \
195- --log " $( LOGS_DIR) /venv-$( NOW) .txt" ; \
195+ --log " $( LOGS_DIR) /venv-$( NOW) .txt" ; \
196196 fi
197197
198198
0 commit comments