From: Bruno Haible Date: Mon, 10 Dec 2001 12:50:52 +0000 (+0000) Subject: Make the xgettext options customizable. X-Git-Tag: v0.11~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=602faaa029ed0df037ba5b4f56689853c89077a8;p=thirdparty%2Fgettext.git Make the xgettext options customizable. --- diff --git a/po/ChangeLog b/po/ChangeLog index ab68df999..f29a22233 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,8 @@ +2001-12-06 Bruno Haible + + * Makevars (XGETTEXT_OPTIONS): New variable. + * Makefile.in.in ($(srcdir)/$(DOMAIN).pot): Use it. + 2001-12-05 Bruno Haible * ko.po: Update from Changwoo Ryu . diff --git a/po/Makefile.in.in b/po/Makefile.in.in index a2f547b45..39305fd1a 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -78,7 +78,7 @@ all-no: $(srcdir)/$(DOMAIN).pot: $(POTFILES) $(srcdir)/POTFILES.in $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ - --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ --files-from=$(srcdir)/POTFILES.in \ && test ! -f $(DOMAIN).po \ || ( rm -f $(srcdir)/$(DOMAIN).pot \ diff --git a/po/Makevars b/po/Makevars index f8314264f..0a2fd64aa 100644 --- a/po/Makevars +++ b/po/Makevars @@ -6,3 +6,6 @@ DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_