Skip to content

Commit eae3a9d

Browse files
committed
Allow to check ignored locales + add comment about them
1 parent e10b0d4 commit eae3a9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sphinx/locale/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
# Ignore locales that are known failures. See utils/babel_runner.py
12
IGNORED = ta
2-
LOCALES = $(filter-out $(IGNORED),$(patsubst %/LC_MESSAGES,%,$(wildcard */LC_MESSAGES)))
3-
POFILES = $(LOCALES:%=%/LC_MESSAGES/sphinx.po)
3+
POFILES = $(wildcard */LC_MESSAGES/sphinx.po)
44
CHECK = $(POFILES:.po=.check)
55

66
.PHONY: all
7-
check: $(CHECK)
7+
check: $(filter-out $(IGNORED:=/LC_MESSAGES/sphinx.check),$(CHECK))
88

99
.PHONY: $(CHECK)
1010
$(CHECK): %.check: %.po

0 commit comments

Comments
 (0)