diff options
author | Daiki Ueno <ueno@gnu.org> | 2015-09-30 15:40:26 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2015-12-04 13:02:40 +0900 |
commit | 6fab71fdbee5bbf274d43c97fc3b7b73ad11f0aa (patch) | |
tree | 974a74ef435c6557d560ef17d40784e109a9be42 /gettext-tools/tests/Makefile.am | |
parent | 4d0dcc0c64d0600c72c23169862b7868f04768f2 (diff) | |
download | external_gettext-6fab71fdbee5bbf274d43c97fc3b7b73ad11f0aa.zip external_gettext-6fab71fdbee5bbf274d43c97fc3b7b73ad11f0aa.tar.gz external_gettext-6fab71fdbee5bbf274d43c97fc3b7b73ad11f0aa.tar.bz2 |
xgettext: Add support for generic XML files
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add trim module.
* gettext-tools/src/locating-rule.h: New file.
* gettext-tools/src/locating-rule.c: New file.
* gettext-tools/src/its.h: New file.
* gettext-tools/src/its.c: New file.
* gettext-tools/src/xgettext.c: Include "locating-rule.h" and "its.h".
(its_locators): New variable.
(long_options): Add --itstool option.
(extract_from_xml_file): New function.
(main): Handle --itstool option.
(usage): Document --itstool option.
* gettext-tools/src/Makefile.am (noinst_HEADERS): Add locating-rule.h
and its.h.
(libgettextsrc_la_CPPFLAGS): Add $(INCXML).
(libgettextsrc_la_SOURCES): Add locating-rule.c and its.c.
* gettext-tools/Makefile.am (SUBDIRS): Add its directory.
* gettext-tools/configure.ac: Output its/Makefile.
* gettext-tools/doc/gettext.texi (Preparing ITS Rules): New section.
* gettext-tools/doc/xgettext.texi: Mention --itstool option.
* gettext-tools/tests/Makefile.am (TESTS): Add new tests.
* gettext-tools/tests/xgettext-its-1: New file
* gettext-tools/tests/init-env.in: Set GETTEXTDATADIR for ITS tests.
Diffstat (limited to 'gettext-tools/tests/Makefile.am')
-rw-r--r-- | gettext-tools/tests/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gettext-tools/tests/Makefile.am b/gettext-tools/tests/Makefile.am index a1f4a59..bb24284 100644 --- a/gettext-tools/tests/Makefile.am +++ b/gettext-tools/tests/Makefile.am @@ -113,6 +113,7 @@ TESTS = gettext-1 gettext-2 gettext-3 gettext-4 gettext-5 gettext-6 gettext-7 \ xgettext-vala-1 \ xgettext-gsettings-1 \ xgettext-desktop-1 \ + xgettext-its-1 \ format-awk-1 format-awk-2 \ format-boost-1 format-boost-2 \ format-c-1 format-c-2 format-c-3 format-c-4 format-c-5 \ |