summaryrefslogtreecommitdiff
path: root/po/Makevars
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /po/Makevars
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'po/Makevars')
-rw-r--r--po/Makevars18
1 files changed, 11 insertions, 7 deletions
diff --git a/po/Makevars b/po/Makevars
index bb5d203..ebff23f 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -1,5 +1,5 @@
# Makevars -- snippet for inclusion in po/ -*- Makefile -*-
-# Copyright (C) 2016 Olaf Meeuwissen and the SANE developers
+# Copyright (C) 2016, 2019 Olaf Meeuwissen and the SANE developers
#
# This file is part of the SANE build infra-structure. See the
# included LICENSE file for license information.
@@ -32,14 +32,18 @@ subdir = po
# Options to pass to xgettext and other gettext utilities.
# Additional options may also by specified using AM_XGETTEXT_OPTION
# in `$(top_srcdir)/configure.ac`. See Makefile.in.in and Rules-*
-# for variables available
-XGETTEXT_OPTIONS = --keyword=SANE_I18N
+# for variables available.
+XGETTEXT_OPTIONS = $(width_options)
+XGETTEXT_OPTIONS += --keyword=SANE_I18N
XGETTEXT_OPTIONS += --flag=SANE_I18N:1:no-c-format
-MSGMERGE_OPTIONS = --width=75
+MSGMERGE_OPTIONS = $(width_options)
+MSGINIT_OPTIONS = $(width_options)
+MSGCONV_OPTIONS = $(width_options)
+MSGFILTER_OPTIONS = $(width_options)
+# All gettext related utilities need to use the same width value in
+# order to pass a `make distcheck`.
+width_options = --width=75
# Locale categories, in addition to LC_MESSAGES, for which message
# catalogs are to be used.
EXTRA_LOCALE_CATEGORIES =
-
-EXTRA_DIST = README
-EXTRA_DIST += Rules-automake