From eae3a9de14514e70a2bfd0b21a138cd71b2466a5 Mon Sep 17 00:00:00 2001 From: Nicolas Peugnet Date: Sun, 2 Jun 2024 17:23:07 +0200 Subject: [PATCH] Allow to check ignored locales + add comment about them --- sphinx/locale/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx/locale/Makefile b/sphinx/locale/Makefile index b619990b22f..d7e754730a1 100644 --- a/sphinx/locale/Makefile +++ b/sphinx/locale/Makefile @@ -1,10 +1,10 @@ +# Ignore locales that are known failures. See utils/babel_runner.py IGNORED = ta -LOCALES = $(filter-out $(IGNORED),$(patsubst %/LC_MESSAGES,%,$(wildcard */LC_MESSAGES))) -POFILES = $(LOCALES:%=%/LC_MESSAGES/sphinx.po) +POFILES = $(wildcard */LC_MESSAGES/sphinx.po) CHECK = $(POFILES:.po=.check) .PHONY: all -check: $(CHECK) +check: $(filter-out $(IGNORED:=/LC_MESSAGES/sphinx.check),$(CHECK)) .PHONY: $(CHECK) $(CHECK): %.check: %.po