GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update Makefile (#110) · python/python-docs-tr@692aa96

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Makefile
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+9-5Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
# from which we generated our po files. We use it here so when we
2121
# test build, we're building with the .rst files that generated our
2222
# .po files.
23+
2324
CPYTHON_CURRENT_COMMIT := e98fa7121dd80496c60f07bb51101b648fe27cda
2425
LANGUAGE := tr
2526
BRANCH := 3.11
@@ -65,7 +66,8 @@ PYTHON := $(shell which python3)
6566
MODE := html
6667
POSPELL_TMP_DIR := .pospell/
6768
JOBS := auto
68-
SERVE_PORT :=
69+
ADDITIONAL_ARGS := --keep-going --color
70+
SPHINXERRORHANDLING = -W
6971

7072
# Detect OS
7173

@@ -90,13 +92,15 @@ all: ensure_prerequisites
9092
mkdir -p locales/$(LANGUAGE)/LC_MESSAGES/
9193
$(CP_CMD) -u --parents *.po */*.po locales/$(LANGUAGE)/LC_MESSAGES/
9294
$(MAKE) -C venv/cpython/Doc/ \
93-
SPHINXOPTS='-j$(JOBS) \
94-
-D locale_dirs=$(abspath locales) \
95+
JOBS='$(JOBS)' \
96+
SPHINXOPTS='-D locale_dirs=$(abspath locales) \
9597
-D language=$(LANGUAGE) \
9698
-D gettext_compact=0 \
9799
-D latex_engine=xelatex \
98100
-D latex_elements.inputenc= \
99-
-D latex_elements.fontenc=' \
101+
-D latex_elements.fontenc= \
102+
$(ADDITIONAL_ARGS)' \
103+
SPHINXERRORHANDLING=$(SPHINXERRORHANDLING) \
100104
$(MODE)
101105
@echo "Build success, open file://$(abspath venv/cpython/)/Doc/build/html/index.html or run 'make htmlview' to see them."
102106

@@ -162,7 +166,7 @@ verifs: spell line-length sphinx-lint
162166
.PHONY: clean
163167
clean:
164168
@echo "Cleaning *.mo and $(POSPELL_TMP_DIR)"
165-
rm -rf $(POSPELL_TMP_DIR)
169+
rm -rf $(POSPELL_TMP_DIR) locales/$(LANGUAGE)/LC_MESSAGES/
166170
find -name '*.mo' -delete
167171
@echo "Cleaning build directory"
168172
$(MAKE) -C venv/cpython/Doc/ clean

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.