]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Make the xgettext options customizable.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Dec 2001 12:50:52 +0000 (12:50 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 21:36:10 +0000 (23:36 +0200)
po/ChangeLog
po/Makefile.in.in
po/Makevars

index ab68df9994827612f1986fcdadb45e529e96940f..f29a22233b23776acf1e107075582a36d20648bc 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-06  Bruno Haible  <bruno@clisp.org>
+
+       * Makevars (XGETTEXT_OPTIONS): New variable.
+       * Makefile.in.in ($(srcdir)/$(DOMAIN).pot): Use it.
+
 2001-12-05  Bruno Haible  <bruno@clisp.org>
 
        * ko.po: Update from Changwoo Ryu <cwryu@debian.org>.
index a2f547b4593da4890682384386bac4adc863205c..39305fd1a6700a699349f0f94bf06fe3e4fa249c 100644 (file)
@@ -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 \
index f8314264febd4c3bbeea1ac06280432b2ea35c14..0a2fd64aa066cbd14ac1129c2b02d6f5e71d7049 100644 (file)
@@ -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_