mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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.
This commit is contained in:
@ -36,6 +36,7 @@ LANGUAGES = $(AVAIL_LANGUAGES)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
PO_FILES = $(addprefix po/, $(addsuffix .po, $(LANGUAGES)))
|
PO_FILES = $(addprefix po/, $(addsuffix .po, $(LANGUAGES)))
|
||||||
|
ALL_PO_FILES = $(addprefix po/, $(addsuffix .po, $(AVAIL_LANGUAGES)))
|
||||||
MO_FILES = $(addprefix po/, $(addsuffix .mo, $(LANGUAGES)))
|
MO_FILES = $(addprefix po/, $(addsuffix .mo, $(LANGUAGES)))
|
||||||
|
|
||||||
ifdef XGETTEXT
|
ifdef XGETTEXT
|
||||||
@ -108,7 +109,7 @@ clean-po:
|
|||||||
rm -f po/$(CATALOG_NAME).pot
|
rm -f po/$(CATALOG_NAME).pot
|
||||||
|
|
||||||
|
|
||||||
maintainer-check-po: $(PO_FILES)
|
maintainer-check-po: $(ALL_PO_FILES)
|
||||||
for file in $^; do \
|
for file in $^; do \
|
||||||
$(MSGFMT) -c -v -o /dev/null $$file || exit 1; \
|
$(MSGFMT) -c -v -o /dev/null $$file || exit 1; \
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user