Skip to content

Commit 0760849

Browse files
committed
Update make merge to generate pots under Doc/locales/pot
1 parent 998d15d commit 0760849

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ ifneq "$(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all
7575
$(error "You're merging from a different branch")
7676
endif
7777
(cd $(CPYTHON_CLONE)/Doc; rm -f build/NEWS)
78-
(cd $(CPYTHON_CLONE); $(VENV)/bin/sphinx-build -Q -b gettext -D gettext_compact=0 Doc pot/)
79-
find $(CPYTHON_CLONE)/pot/ -name '*.pot' |\
78+
(cd $(CPYTHON_CLONE)/Doc; $(VENV)/bin/sphinx-build -Q -b gettext -D gettext_compact=0 . locales/pot/)
79+
find $(CPYTHON_CLONE)/Doc/locales/pot/ -name '*.pot' |\
8080
while read -r POT;\
8181
do\
82-
PO="./$$(echo "$$POT" | sed "s#$(CPYTHON_CLONE)/pot/##; s#\.pot\$$#.po#")";\
82+
PO="./$$(echo "$$POT" | sed "s#$(CPYTHON_CLONE)/Doc/locales/pot/##; s#\.pot\$$#.po#")";\
8383
mkdir -p "$$(dirname "$$PO")";\
8484
if [ -f "$$PO" ];\
8585
then\

0 commit comments

Comments
 (0)