From 4e1c72079abcc160e84cdcd879f2dca2a6956dea Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 28 Mar 2012 21:06:45 +0300 Subject: [PATCH] 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. --- src/nls-global.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nls-global.mk b/src/nls-global.mk index 60f73ba487..aa60e63fc3 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 -- 2.40.0