]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use PACKAGE_BUGREPORT if MSGID_BUGS_ADDRESS is empty.
authorBruno Haible <bruno@clisp.org>
Mon, 7 Feb 2005 12:05:59 +0000 (12:05 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:09 +0000 (12:12 +0200)
gettext-runtime/po/ChangeLog
gettext-runtime/po/Makefile.in.in
gettext-tools/po/ChangeLog
gettext-tools/po/Makefile.in.in

index 79a9b88d10bf8886942c9f9b9dfcf39f058266ed..9c6c9a03c329d2d0b6c73e439395013e93c84dc5 100644 (file)
@@ -1,3 +1,10 @@
+2005-02-06  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.in.in (PACKAGE_BUGREPORT): New variable.
+       ($(DOMAIN).pot-update): If MSGID_BUGS_ADDRESS is empty and
+       PACKAGE_BUGREPORT is available, use the latter.
+       Reported by Simon Josefsson <jas@extundo.com>.
+
 2005-01-29  Bruno Haible  <bruno@clisp.org>
 
        * vi.po: New file, from Clytie Siddall <clytie@riverland.net.au>.
index 53efc5e16e68fd7488fc0ad08cdfa647ab7016ee..76516c1af6f8889344b110e183be4c1bae79adb1 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for PO directory in any package using GNU gettext.
-# Copyright (C) 1995-1997, 2000-2004 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
+# Copyright (C) 1995-1997, 2000-2005 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
 #
 # This file can be copied and used freely without restrictions.  It can
 # be used in projects which are not available under the GNU General Public
@@ -8,10 +8,11 @@
 # Please note that the actual code of GNU gettext is covered by the GNU
 # General Public License and is *not* in the public domain.
 #
-# Origin: gettext-0.14
+# Origin: gettext-0.14.2
 
 PACKAGE = @PACKAGE@
 VERSION = @VERSION@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
 SHELL = /bin/sh
 @SET_MAKE@
@@ -100,11 +101,16 @@ stamp-po: $(srcdir)/$(DOMAIN).pot
 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
 $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
+       if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \
+         msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+       else \
+         msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+       fi; \
        $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
          --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
          --files-from=$(srcdir)/POTFILES.in \
          --copyright-holder='$(COPYRIGHT_HOLDER)' \
-         --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)'
+         --msgid-bugs-address="$$msgid_bugs_address"
        test ! -f $(DOMAIN).po || { \
          if test -f $(srcdir)/$(DOMAIN).pot; then \
            sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
index fa745faf5272d777d516f5a9f8496e371875a8bf..259ee46f1917cd092d657ef3c7a14064d202d6ba 100644 (file)
@@ -1,3 +1,10 @@
+2005-02-06  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.in.in (PACKAGE_BUGREPORT): New variable.
+       ($(DOMAIN).pot-update): If MSGID_BUGS_ADDRESS is empty and
+       PACKAGE_BUGREPORT is available, use the latter.
+       Reported by Simon Josefsson <jas@extundo.com>.
+
 2005-01-26  Bruno Haible  <bruno@clisp.org>
 
        * ru.po: Update from Oleg S. Tihonov <tihonov@ffke-campus.mipt.ru>.
index 53efc5e16e68fd7488fc0ad08cdfa647ab7016ee..76516c1af6f8889344b110e183be4c1bae79adb1 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for PO directory in any package using GNU gettext.
-# Copyright (C) 1995-1997, 2000-2004 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
+# Copyright (C) 1995-1997, 2000-2005 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
 #
 # This file can be copied and used freely without restrictions.  It can
 # be used in projects which are not available under the GNU General Public
@@ -8,10 +8,11 @@
 # Please note that the actual code of GNU gettext is covered by the GNU
 # General Public License and is *not* in the public domain.
 #
-# Origin: gettext-0.14
+# Origin: gettext-0.14.2
 
 PACKAGE = @PACKAGE@
 VERSION = @VERSION@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
 SHELL = /bin/sh
 @SET_MAKE@
@@ -100,11 +101,16 @@ stamp-po: $(srcdir)/$(DOMAIN).pot
 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
 $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
+       if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \
+         msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+       else \
+         msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+       fi; \
        $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
          --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
          --files-from=$(srcdir)/POTFILES.in \
          --copyright-holder='$(COPYRIGHT_HOLDER)' \
-         --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)'
+         --msgid-bugs-address="$$msgid_bugs_address"
        test ! -f $(DOMAIN).po || { \
          if test -f $(srcdir)/$(DOMAIN).pot; then \
            sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \