summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-03-28 21:06:45 +0300
committerPeter Eisentraut <peter_e@gmx.net>2012-03-28 21:06:45 +0300
commit4e1c72079abcc160e84cdcd879f2dca2a6956dea (patch)
treeba4e81165f531b9ba0b3edd901491743de032225
parent03f0c08f4730f3c80b65221749267b6436eac576 (diff)
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.
-rw-r--r--src/nls-global.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nls-global.mk b/src/nls-global.mk
index 60f73ba487d..aa60e63fc3f 100644
--- a/src/nls-global.mk
+++ b/src/nls-global.mk
@@ -36,6 +36,7 @@ LANGUAGES = $(AVAIL_LANGUAGES)
endif
PO_FILES = $(addprefix po/, $(addsuffix .po, $(LANGUAGES)))
+ALL_PO_FILES = $(addprefix po/, $(addsuffix .po, $(AVAIL_LANGUAGES)))
MO_FILES = $(addprefix po/, $(addsuffix .mo, $(LANGUAGES)))
ifdef XGETTEXT
@@ -108,7 +109,7 @@ clean-po:
rm -f po/$(CATALOG_NAME).pot
-maintainer-check-po: $(PO_FILES)
+maintainer-check-po: $(ALL_PO_FILES)
for file in $^; do \
$(MSGFMT) -c -v -o /dev/null $$file || exit 1; \
done