# Makefile variables for PO directory in any package using GNU gettext.

DOMAIN = $(PACKAGE)

subdir = po
top_builddir = ..

# Use the xgettext.scm wrapper to produce .pot files reproducibly using a
# timestamp from Git for the 'POT-Creation-Date' field.
XGETTEXT := $(top_srcdir)/build-aux/xgettext.scm

XGETTEXT_OPTIONS =				\
  --from-code=UTF-8				\
  --keyword=l10n --keyword=l10n:1,2		\
  --keyword=message				\
  --xgettext=$(XGETTEXT_)

# Set this to the empty string, which means translations are in the
# public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER =

# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings.
MSGID_BUGS_ADDRESS = guix-devel@gnu.org

# Disable PO update upon "make dist" to avoid tarball reproducibility issues.
DIST_DEPENDS_ON_UPDATE_PO = no
