Skip to content

Commit c2f8b3a

Browse files
authored
Suppression de make progress (#1692)
make progress était incohérent avec make todo car il manquait l'exclusion des fichiers qui ne sont pas à traduire. Comme potodo fait maintenant le même boulot et plus (la progression est affichée depuis la version 0.18.0), make progress est devenu inutile. Closes #1685
1 parent e993788 commit c2f8b3a

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

Makefile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
# Here is what you can do:
44
#
55
# - make # Automatically build an HTML local version
6-
# - make todo # To list remaining tasks
6+
# - make todo # To list remaining tasks and show current progression
77
# - make verifs # To check for correctness: wrapping, spelling
88
# - make wrap # To check for wrapping
99
# - make spell # To check for spelling
1010
# - make merge # To merge pot from upstream
1111
# - make fuzzy # To find fuzzy strings
12-
# - make progress # To compute current progression
1312
#
1413
# Modes are: autobuild-stable, autobuild-dev, and autobuild-html,
1514
# documented in gen/src/3.6/Doc/Makefile as we're only delegating the
@@ -105,14 +104,6 @@ ensure_prerequisites:
105104
serve:
106105
$(MAKE) -C $(CPYTHON_PATH)/Doc/ serve
107106

108-
109-
.PHONY: progress
110-
progress:
111-
@$(PYTHON) -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \
112-
$(shell msgcat *.po */*.po | msgattrib --translated | grep -c '^msgid') \
113-
$(shell msgcat *.po */*.po | grep -c '^msgid')
114-
115-
116107
.PHONY: todo
117108
todo: ensure_prerequisites
118109
potodo --exclude venv .venv $(EXCLUDED)

0 commit comments

Comments
 (0)