]> granicus.if.org Git - postgresql/commitdiff
Run maintainer-check on all PO files, not only configured ones
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 28 Mar 2012 18:06:45 +0000 (21:06 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 28 Mar 2012 18:06:45 +0000 (21:06 +0300)
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

index 60f73ba487d76684164810fa4e3abf2b2359c2e0..aa60e63fc3fc75846e09ae92003bfcedfff08a1d 100644 (file)
@@ -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