Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4e1c720

Browse files
committed
Run maintainer-check on all PO files, not only configured ones
The intent is to allow configure --enable-nls=xx for installation speed and size, but have maintainer-check check all source files regardless.
1 parent 03f0c08 commit 4e1c720

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/nls-global.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ LANGUAGES = $(AVAIL_LANGUAGES)
3636
endif
3737

3838
PO_FILES = $(addprefix po/, $(addsuffix .po, $(LANGUAGES)))
39+
ALL_PO_FILES = $(addprefix po/, $(addsuffix .po, $(AVAIL_LANGUAGES)))
3940
MO_FILES = $(addprefix po/, $(addsuffix .mo, $(LANGUAGES)))
4041

4142
ifdef XGETTEXT
@@ -108,7 +109,7 @@ clean-po:
108109
rm -f po/$(CATALOG_NAME).pot
109110

110111

111-
maintainer-check-po: $(PO_FILES)
112+
maintainer-check-po: $(ALL_PO_FILES)
112113
for file in $^; do \
113114
$(MSGFMT) -c -v -o /dev/null $$file || exit 1; \
114115
done

0 commit comments

Comments
 (0)