Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c88e6c7

Browse files
christopheNanJulienPalard
authored andcommitted
Le contournement du bug #1231 n'a plus lieu d'être.
Le Makefile étant peu verbeux, ajout de messages pour indiquer ce qu'il est en train de faire.
1 parent 6470c80 commit c88e6c7

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ all: setup
7777

7878
.PHONY: setup
7979
setup: venv
80-
# Setup the main clone
80+
echo "Setup the main clone"
8181
if ! [ -d $(CPYTHON_PATH) ]; then \
8282
git clone --depth 16 --branch $(BRANCH) $(UPSTREAM) $(CPYTHON_PATH); \
8383
fi
8484

85-
# Setup the current worktree
85+
echo "Setup the current worktree"
8686
if ! [ -d $(WORKTREE) ]; then \
8787
rm -fr $(WORKTREES); \
8888
git -C $(CPYTHON_PATH) worktree prune; \
@@ -100,12 +100,12 @@ setup: venv
100100
fi; \
101101
git -C $(CPYTHON_PATH) worktree add $(WORKTREE)/ $(CPYTHON_CURRENT_COMMIT); \
102102
$(MAKE) -C $(WORKTREE)/Doc/ VENVDIR=$(WORKTREE)/Doc/venv/ PYTHON=$(PYTHON) venv; \
103-
$(WORKTREE)/Doc/venv/bin/python -m pip install Sphinx==2.2.2 docutils==0.15; \
104103
fi
105104

106105

107106
.PHONY: venv
108107
venv:
108+
echo "Setup venv in $(VENV)"
109109
if [ ! -d $(VENV) ]; then $(PYTHON) -m venv --prompt python-docs-fr $(VENV); fi
110110
$(VENV)/bin/python -m pip install -q -r requirements.txt 2> $(VENV)/pip-install.log
111111
if grep -q 'pip install --upgrade pip' $(VENV)/pip-install.log; then \
@@ -131,6 +131,7 @@ todo: venv
131131

132132
.PHONY: wrap
133133
wrap: venv
134+
echo "Verify wrapping"
134135
$(VENV)/bin/powrap --check --quiet *.po **/*.po
135136

136137
SRCS = $(shell git diff --name-only $(BRANCH) | grep '.po$$')
@@ -141,7 +142,7 @@ DESTS = $(addprefix $(POSPELL_TMP_DIR)/,$(addsuffix .out,$(SRCS)))
141142
spell: venv $(DESTS)
142143

143144
$(POSPELL_TMP_DIR)/%.po.out: %.po dict
144-
echo "Checking $<..."
145+
echo "Pospell checking $<..."
145146
mkdir -p $(@D)
146147
$(VENV)/bin/pospell -p dict -l fr_FR $< && touch $@
147148

@@ -154,6 +155,7 @@ verifs: wrap spell
154155

155156
.PHONY: merge
156157
merge: setup
158+
echo "Merge from $(UPSTREAM)"
157159
git -C $(CPYTHON_PATH) fetch $(UPSTREAM)
158160
rm -fr $(WORKTREES)/$(BRANCH)
159161
git -C $(CPYTHON_PATH) worktree prune
@@ -182,5 +184,6 @@ merge: setup
182184

183185
.PHONY: clean
184186
clean:
187+
echo "Cleaning *.mo, $(VENV), and $(POSPELL_TMP_DIR)"
185188
rm -fr $(VENV) $(POSPELL_TMP_DIR)
186189
find -name '*.mo' -delete

sphinx.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2020-05-31 18:29+0200\n"
9-
"PO-Revision-Date: 2019-10-19 22:53+0200\n"
9+
"PO-Revision-Date: 2020-07-09 20:53+0200\n"
1010
"Last-Translator: Jules Lasne <[email protected]>\n"
1111
"Language-Team: FRENCH <[email protected]>\n"
1212
"Language: fr\n"

0 commit comments

Comments
 (0)