projects/guix·blob python-team · refs

36 lines · 1.2 KiB

1# Makefile variables for PO directory in any package using GNU gettext.
2
3# This domain contains only translations of package synopses and descriptions.
4DOMAIN = guix-packages
5
6subdir = po/packages
7top_builddir = ../..
8
9# We use our xgettext.scm wrapper to produce .PO files reproducibly using a
10# timestamp from Git. The `real' xgettext is passed as an option to
11# xgettext.scm
12XGETTEXT:=$(top_srcdir)/build-aux/xgettext.scm
13
14# These options get passed to xgettext. We want to catch exclusively package
15# synopses and descriptions.
16XGETTEXT_OPTIONS = \
17 --language=Scheme --from-code=UTF-8 \
18 --keyword=synopsis --keyword=description \
19 --keyword=output-synopsis:2 \
20 --xgettext=$(XGETTEXT_)
21
22COPYRIGHT_HOLDER = the authors of Guix (msgids)
23
24MSGID_BUGS_ADDRESS = [email protected]
25
26EXTRA_LOCALE_CATEGORIES =
27
28# Disable PO update upon "make dist", which sometimes fails when doing
29# "make distcheck -j4".
30# See <https://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html>.
31DIST_DEPENDS_ON_UPDATE_PO = no
32
33# Ignore the timestamp of the .pot file, as .po files are updated by
34# `make download-po` only. This ensures po files are not modified on the
35# first `make` invocation.
36PO_DEPENDS_ON_POT = no