mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05:00
a23789bbbd
We need to update the minimal gettext version to take advantage of new features. Before this patch, the first make invocation would modify po/guix and po/packages po files, and we advised to run `git checkout po` to clean the changes. * configure.ac (AM_GNU_GETTEXT_VERSION): Update to 0.19.1. * po/guix/Makevars: Set PO_DEPENDS_ON_POT to no. * po/packages/Makevars: Set PO_DEPENDS_ON_POT to no. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
33 lines
1,011 B
Text
33 lines
1,011 B
Text
# Makefile variables for PO directory in any package using GNU gettext.
|
|
|
|
DOMAIN = guix
|
|
|
|
subdir = po/guix
|
|
top_builddir = ../..
|
|
|
|
# These options get passed to xgettext. We want to catch standard
|
|
# gettext uses, and SRFI-35 error condition messages. In C++ code
|
|
# we use 'n_' instead of the more usual 'N_' for no-ops.
|
|
XGETTEXT_OPTIONS = \
|
|
--from-code=UTF-8 \
|
|
--keyword=G_ --keyword=N_:1,2 \
|
|
--keyword=message \
|
|
--keyword=description \
|
|
--keyword=synopsis \
|
|
--keyword=n_
|
|
|
|
COPYRIGHT_HOLDER = the authors of Guix (msgids)
|
|
|
|
MSGID_BUGS_ADDRESS = bug-guix@gnu.org
|
|
|
|
EXTRA_LOCALE_CATEGORIES =
|
|
|
|
# Disable PO update upon "make dist", which sometimes fails when doing
|
|
# "make distcheck -j4".
|
|
# See <https://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html>.
|
|
DIST_DEPENDS_ON_UPDATE_PO = no
|
|
|
|
# Ignore the timestamp of the .pot file, as .po files are updated by
|
|
# `make download-po` only. This ensures po files are not modified on the
|
|
# first `make` invocation.
|
|
PO_DEPENDS_ON_POT = no
|