Reported by Benno Schulenberg <coordinator@translationproject.org>.
* gettext-runtime/po/Makevars (XGETTEXT_OPTIONS): Add --package-name option.
* gettext-tools/po/Makevars (XGETTEXT_OPTIONS): Likewise.
* gettext-tools/examples/po/Makefile.am (XGETTEXT_OPTIONS): New variable.
# Makefile variables for PO directory in any package using GNU gettext.
#
-# Copyright (C) 2003-2017 Free Software Foundation, Inc.
+# Copyright (C) 2003-2019 Free Software Foundation, Inc.
# This file, Makevars, is free software; the Free Software Foundation
# gives unlimited permission to use, copy, distribute, and modify it.
# These options get passed to xgettext.
XGETTEXT_OPTIONS = \
+ --package-name='GNU gettext' \
--keyword=_ --flag=_:1:pass-c-format \
--keyword=N_ --flag=N_:1:pass-c-format \
--flag=error:3:c-format --flag=error_at_line:5:c-format
# This is a synthetic domain name.
DOMAIN = gettext-examples
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --package-name='GNU gettext'
+
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
# package. (Note that the msgstr strings, extracted from the package's
# Makefile variables for PO directory in any package using GNU gettext.
#
-# Copyright (C) 2003-2017 Free Software Foundation, Inc.
+# Copyright (C) 2003-2019 Free Software Foundation, Inc.
# This file, Makevars, is free software; the Free Software Foundation
# gives unlimited permission to use, copy, distribute, and modify it.
# These options get passed to xgettext.
XGETTEXT_OPTIONS = \
+ --package-name='GNU gettext' \
--keyword=_ --flag=_:1:pass-c-format \
--keyword=N_ --flag=N_:1:pass-c-format \
--flag=error:3:c-format --flag=error_at_line:5:c-format \