From: Bruno Haible Date: Fri, 14 Feb 2003 20:41:24 +0000 (+0000) Subject: Infrastructure for gettext-runtime/po. X-Git-Tag: v0.12~295 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5579da34e56a8b707843fc73e422583cd30d2a;p=thirdparty%2Fgettext.git Infrastructure for gettext-runtime/po. --- diff --git a/gettext-runtime/po/ChangeLog b/gettext-runtime/po/ChangeLog new file mode 100644 index 000000000..f756e5149 --- /dev/null +++ b/gettext-runtime/po/ChangeLog @@ -0,0 +1,10 @@ +2003-02-12 Bruno Haible + + * POTFILES.in: New file. + * Makevars: New file. + + * Makefile.in.in (install-data, installdirs-data, uninstall-data): + Special case package 'gettext-tools'. + (.nop.po-update): Likewise. + (dist2): Distribute also ChangeLog.[0-9] if present. + diff --git a/gettext-runtime/po/Makevars b/gettext-runtime/po/Makevars new file mode 100644 index 000000000..8b09f53b0 --- /dev/null +++ b/gettext-runtime/po/Makevars @@ -0,0 +1,25 @@ +# 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 = Free Software Foundation, Inc. + +# 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 = diff --git a/gettext-runtime/po/POTFILES.in b/gettext-runtime/po/POTFILES.in new file mode 100644 index 000000000..17217f489 --- /dev/null +++ b/gettext-runtime/po/POTFILES.in @@ -0,0 +1,14 @@ +# List of files which contain translatable strings. +# Copyright (C) 1995, 1998, 2001-2003 Free Software Foundation, Inc. + +# For updating this file, look at the result of: +# $ grep -l '[^A-Za-z_]_(' {lib,src}/*.[chly] + +# Files from the compatibility library +lib/error.c +lib/getopt.c +lib/xmalloc.c + +# Package source files +src/gettext.c +src/ngettext.c