Commit d030f323 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Add the standard infrastructure

parent 1dd38793
......@@ -45,6 +45,8 @@
/m4
/mdate-sh
/missing
/po/Makefile
/po/Makefile.in
/po/Makefile.in.in
/po/Makevars.template
/po/POTFILES
......
2018-08-21 gettextize <bug-gnu-gettext@gnu.org>
* m4/lib-ld.m4: Upgrade to gettext-0.19.8.1.
* m4/lib-link.m4: Upgrade to gettext-0.19.8.1.
* m4/lib-prefix.m4: Upgrade to gettext-0.19.8.1.
* Makefile.am (SUBDIRS): Add po.
* configure.ac (AC_CONFIG_FILES): Add po/Makefile.in.
2018-08-21 gettextize <bug-gnu-gettext@gnu.org>
* m4/gettext.m4: Upgrade to gettext-0.19.8.1.
......
......@@ -16,7 +16,7 @@
# along with this program. If not, see
# <http://www.gnu.org/licenses/>.
SUBDIRS = lib
SUBDIRS = po lib
AUTOMAKE_OPTIONS = subdir-objects
mansixdir = $(datadir)/man6
bin_PROGRAMS =
......
......@@ -75,8 +75,11 @@ AS_IF([test "x$with_libunistring" != "xno"], [
AC_CHECK_HEADERS([readline/readline.h readline/history.h], [], [AC_MSG_ERROR([readline is not working.])])
AC_SEARCH_LIBS([readline], [readline], [], [AC_MSG_ERROR([readline is not working.])])
AC_SEARCH_LIBS([add_history], [readline], [], [AC_MSG_ERROR([readline is not working.])])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.19])
AC_CONFIG_FILES([
po/Makefile.in
Makefile
lib/Makefile
src/libtarot.pc
......
2018-08-21 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.in.in: New file, from gettext-0.19.8.1.
* boldquot.sed: New file, from gettext-0.19.8.1.
* en@boldquot.header: New file, from gettext-0.19.8.1.
* en@quot.header: New file, from gettext-0.19.8.1.
* insert-header.sin: New file, from gettext-0.19.8.1.
* quot.sed: New file, from gettext-0.19.8.1.
* remove-potcdate.sin: New file, from gettext-0.19.8.1.
* Rules-quot: New file, from gettext-0.19.8.1.
* POTFILES.in: New file.
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
# 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
# sources, belong to the copyright holder of the package.) Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = Vivien Kraus
# This tells whether or not to prepend "GNU " prefix to the package
# name that gets inserted into the header of the $(DOMAIN).pot file.
# Possible values are "yes", "no", or empty. If it is empty, try to
# detect it automatically by scanning the files in $(top_srcdir) for
# "GNU packagename" string.
PACKAGE_GNU =
# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
# in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
# understood.
# - Strings which make invalid assumptions about notation of date, time or
# money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS = vivien@planete-kraus.eu
# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used. It is usually empty.
EXTRA_LOCALE_CATEGORIES =
# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
# context. Possible values are "yes" and "no". Set this to yes if the
# package uses functions taking also a message context, like pgettext(), or
# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
USE_MSGCTXT = no
# These options get passed to msgmerge.
# Useful options are in particular:
# --previous to keep previous msgids of translated messages,
# --quiet to reduce the verbosity.
MSGMERGE_OPTIONS =
# These options get passed to msginit.
# If you want to disable line wrapping when writing PO files, add
# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
# MSGINIT_OPTIONS.
MSGINIT_OPTIONS =
# This tells whether or not to regenerate a PO file when $(DOMAIN).pot
# has changed. Possible values are "yes" and "no". Set this to no if
# the POT file is checked in the repository and the version control
# program ignores timestamps.
PO_DEPENDS_ON_POT = yes
# This tells whether or not to forcibly update $(DOMAIN).pot and
# regenerate PO files on "make dist". Possible values are "yes" and
# "no". Set this to no if the POT file and PO files are maintained
# externally.
DIST_DEPENDS_ON_UPDATE_PO = yes
# Local Variables:
# mode: makefile
# End:
# List of source files which contain translatable strings.
src/program/cmdline.c
src/program/main.c
src/program/tarot-bid.c
src/program/tarot-bid-implementation.c
src/program/tarot-call.c
src/program/tarot-call-implementation.c
src/program/tarot-deal.c
src/program/tarot-deal-implementation.c
src/program/tarot-decl.c
src/program/tarot-decl-implementation.c
src/program/tarot-discard.c
src/program/tarot-discard-implementation.c
src/program/tarot-dog.c
src/program/tarot-dog-implementation.c
src/program/tarot-handful.c
src/program/tarot-handful-implementation.c
src/program/tarot-help.c
src/program/tarot-help-implementation.c
src/program/tarot-license.c
src/program/tarot-license-implementation.c
src/program/tarot-new.c
src/program/tarot-new-implementation.c
src/program/tarot-play.c
src/program/tarot-play-implementation.c
src/program/tarot-setup.c
src/program/tarot-setup-implementation.c
src/program/tarot-status.c
src/program/tarot-status-implementation.c
src/program/tarot-version.c
src/program/tarot-version-implementation.c
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment