]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Add support for generic XML files
authorDaiki Ueno <ueno@gnu.org>
Fri, 4 Sep 2015 08:57:22 +0000 (17:57 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 9 Sep 2015 09:41:08 +0000 (18:41 +0900)
commit0dedd6cadd3c82ee0cac454eda32405ae6c4460b
treeb5fb41b408099b5edc63d3d89c3d7aca74350b61
parent5f8c4728bad25939dc219d22f819a841433e0728
xgettext: Add support for generic XML files

* gettext-tools/src/xlocator.h: New file.
* gettext-tools/src/xlocator.c: New file.
* gettext-tools/src/its.h: New file.
* gettext-tools/src/its.c: New file.
* gettext-tools/src/xgettext.c: Include "xlocator.h" and "its.h".
(its_locators): New variable.
(long_options): Add --its option.
(extract_from_xml_file): New file.
(main): Handle --its option.
(usage): Document --its option.
* gettext-tools/src/Makefile.am (noinst_HEADERS): Add xlocator.h and its.h.
(xgettext_CPPFLAGS): Add $(INCXML).
(xgettext_SOURCES): Add xlocator.c and its.c.
gettext-tools/src/Makefile.am
gettext-tools/src/its.c [new file with mode: 0644]
gettext-tools/src/its.h [new file with mode: 0644]
gettext-tools/src/xgettext.c
gettext-tools/src/xlocator.c [new file with mode: 0644]
gettext-tools/src/xlocator.h [new file with mode: 0644]