This is useful in gnutls, which uses a different gettext domain than the top-level package name. Pushed.
/Simon --- ChangeLog | 5 +++++ top/maint.mk | 3 ++- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 51499c4..a10e086 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-17 Simon Josefsson <si...@josefsson.org> + + * top/maint.mk (PO_DOMAIN): New variable, allows overriding of + gettext domain. + 2009-04-16 Jim Meyering <meyer...@redhat.com> useless-if-before-free: improve conversion code diff --git a/top/maint.mk b/top/maint.mk index 3390e7b..2c53ea5 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -151,7 +151,8 @@ coverage: init-coverage build-coverage gen-coverage # Update gettext files. PACKAGE ?= $(shell basename $(PWD)) -POURL = http://translationproject.org/latest/$(PACKAGE)/ +PO_DOMAIN ?= $(PACKAGE) +POURL = http://translationproject.org/latest/$(PO_DOMAIN)/ PODIR ?= po refresh-po: rm -f $(PODIR)/*.po && \ -- 1.5.6.5