]> git.ipfire.org Git - thirdparty/gettext.git/commit
examples: Add hello-rust example.
authorBruno Haible <bruno@clisp.org>
Tue, 28 Jan 2025 15:47:10 +0000 (16:47 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 28 Jan 2025 21:45:17 +0000 (22:45 +0100)
commite10853e06cb199aed490837f179ed264f46b05cb
tree687bd6aacb491c1a44a1a601b6a570c761aa85eb
parent0f8cfe26fe71a8ec8e2a8dbdc4337b5245ee30a7
examples: Add hello-rust example.

* gettext-tools/examples/hello-rust/INSTALL: New file.
* gettext-tools/examples/hello-rust/autogen.sh: New file.
* gettext-tools/examples/hello-rust/autoclean.sh: New file.
* gettext-tools/examples/hello-rust/Cargo.toml.in: New file.
* gettext-tools/examples/hello-rust/src/main.rs.in: New file.
* gettext-tools/examples/hello-rust/Makefile.am: New file.
* gettext-tools/examples/hello-rust/configure.ac: New file.
* gettext-tools/examples/hello-rust/m4/Makefile.am: New file.
* gettext-tools/examples/hello-rust/po/Makefile.am: New file.
* gettext-tools/examples/hello-rust/po/LINGUAS: New file.
* gettext-tools/examples/Makefile.am (EXAMPLESFILES, EXAMPLESDIRS): Add
hello-rust.
* gettext-tools/examples/po/Makefile.am (POTFILES, SMALLPOTS): Update for
hello-rust.
(hello-rust.pot): New target.
(SMALLPOFILES_FOR_lang): Update for hello-rust.
($(srcdir)/../hello-rust/po/$(LL).po): New rule.
* gettext-tools/examples/check-examples (func_check_autoclean_all,
func_check_distclean_all, func_check_maintainerclean_all,
func_check_maintainerclean_vpath_all, func_check_dist_all,
func_check_dist_vpath_all, func_check_install_all, func_check_uninstall_all,
func_check_distcheck_all, func_check_all): Handle hello-rust as well.
(func_check): Add a more useful body.
* gettext-tools/examples/README: Mention hello-rust.
* NEWS: Likewise.
15 files changed:
NEWS
gettext-tools/examples/Makefile.am
gettext-tools/examples/README
gettext-tools/examples/check-examples
gettext-tools/examples/hello-rust/Cargo.toml.in [new file with mode: 0644]
gettext-tools/examples/hello-rust/INSTALL [new file with mode: 0644]
gettext-tools/examples/hello-rust/Makefile.am [new file with mode: 0644]
gettext-tools/examples/hello-rust/autoclean.sh [new file with mode: 0755]
gettext-tools/examples/hello-rust/autogen.sh [new file with mode: 0755]
gettext-tools/examples/hello-rust/configure.ac [new file with mode: 0644]
gettext-tools/examples/hello-rust/m4/Makefile.am [new file with mode: 0644]
gettext-tools/examples/hello-rust/po/LINGUAS [new file with mode: 0644]
gettext-tools/examples/hello-rust/po/Makefile.am [new file with mode: 0644]
gettext-tools/examples/hello-rust/src/main.rs.in [new file with mode: 0644]
gettext-tools/examples/po/Makefile.am